patch-2.2.4 linux/include/asm-sparc/init.h

Next file: linux/include/asm-sparc/io-unit.h
Previous file: linux/include/asm-sparc/floppy.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.3/linux/include/asm-sparc/init.h linux/include/asm-sparc/init.h
@@ -7,6 +7,8 @@
 #define __initfunc(__arginit) \
 	__arginit __init; \
 	__arginit
+#define __cacheline_aligned __attribute__ \
+			((__section__ (".data.cacheline_aligned")))
 /* For assembly routines */
 #define __INIT		.section	".text.init",#alloc,#execinstr
 #define __FINIT	.previous
@@ -15,6 +17,7 @@
 #define	__init
 #define __initdata
 #define __initfunc(__arginit) __arginit
+#define __cacheline_aligned
 /* For assembly routines */
 #define __INIT
 #define __FINIT

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