patch-2.4.19 linux-2.4.19/include/asm-s390x/debug.h

Next file: linux-2.4.19/include/asm-s390x/ebcdic.h
Previous file: linux-2.4.19/include/asm-s390x/bitops.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-s390x/debug.h linux-2.4.19/include/asm-s390x/debug.h
@@ -54,7 +54,7 @@
 #define DEBUG_DATA(entry) (char*)(entry + 1) /* data is stored behind */
                                              /* the entry information */
 
-#define STCK(x)	asm volatile ("STCK %0" : "=m" (x) : : "cc" )
+#define STCK(x)	asm volatile ("STCK 0(%0)" : : "a" (&(x)) : "memory", "cc")
 
 typedef struct __debug_entry debug_entry_t;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)