patch-2.1.29 linux/include/asm-sparc/cprefix.h

Next file: linux/include/asm-sparc/fcntl.h
Previous file: linux/include/asm-sparc/checksum.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.28/linux/include/asm-sparc/cprefix.h linux/include/asm-sparc/cprefix.h
@@ -11,8 +11,10 @@
 
 #if defined(__svr4__) || defined(__ELF__)
 #define C_LABEL_PREFIX
+#define C_LABEL_STR(name) #name
 #else
 #define C_LABEL_PREFIX _
+#define C_LABEL_STR(name) "_" #name
 #endif
 
 #define CONCAT(a, b) CONCAT2(a, b)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov