patch-2.4.22 linux-2.4.22/include/asm-sh/system.h
Next file: linux-2.4.22/include/asm-sh/types.h
Previous file: linux-2.4.22/include/asm-sh/segment.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/include/asm-sh/system.h
- Orig date:
2003-06-13 07:51:38.000000000 -0700
diff -urN linux-2.4.21/include/asm-sh/system.h linux-2.4.22/include/asm-sh/system.h
@@ -130,7 +130,9 @@
}
#define __save_flags(x) \
- __asm__("stc sr, %0; and #0xf0, %0" : "=&z" (x) :/**/: "memory" )
+ __asm__ __volatile__("stc sr, %0\n\t" \
+ "and #0xf0, %0" \
+ : "=&z" (x) :/**/: "memory" )
static __inline__ unsigned long __save_and_cli(void)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)