Mercurial > hg > nginx
changeset 3479:bfd1912e55a9
use "rep; nop" instead of "pause" on Solaris/amd64
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 26 Mar 2010 13:38:41 +0000 |
parents | eb8660fecc12 |
children | f4957081d935 |
files | src/os/unix/ngx_sunpro_amd64.il |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os/unix/ngx_sunpro_amd64.il +++ b/src/os/unix/ngx_sunpro_amd64.il @@ -31,7 +31,12 @@ / ngx_cpu_pause() +/ +/ the "rep; nop" is used instead of "pause" to avoid the "[ PAUSE ]" hardware +/ capability added by linker because Solaris/amd64 does not know about it: +/ +/ ld.so.1: nginx: fatal: hardware capability unsupported: 0x2000 [ PAUSE ] .inline ngx_cpu_pause,0 - pause + rep; nop .end