mirror of
https://github.com/nginx/nginx.git
synced 2026-07-10 19:04:51 +00:00
use "rep; nop" instead of "pause" on Solaris/amd64
This commit is contained in:
parent
b45498c3de
commit
f59ae65fa4
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue