patch-1.3.84 linux/include/asm-i386/system.h

Next file: linux/include/linux/skbuff.h
Previous file: linux/include/asm-i386/atomic.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.83/linux/include/asm-i386/system.h linux/include/asm-i386/system.h
@@ -221,10 +221,10 @@
 #define cli() __asm__ __volatile__ ("cli": : :"memory")
 
 #define save_flags(x) \
-__asm__ __volatile__("pushfl ; popl %0":"=r" (x): /* no input */ :"memory")
+__asm__ __volatile__("pushfl ; popl %0":"=g" (x): /* no input */ :"memory")
 
 #define restore_flags(x) \
-__asm__ __volatile__("pushl %0 ; popfl": /* no output */ :"r" (x):"memory")
+__asm__ __volatile__("pushl %0 ; popfl": /* no output */ :"g" (x):"memory")
 
 #define iret() __asm__ __volatile__ ("iret": : :"memory")
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this