How to keep gcc haifa from moving userlevel thread lock function?

David Edelsohn dje at
Wed Feb 2 14:57:23 EST 2000

	Is _scheduling_lock delared volatile?  You should not disable
scheduling or other optimizations to solve this problem.  You should look
for the appropriate attribute for the variable and/or function to prevent
GCC from moving the code.


** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list