summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-m68k/init.h')
-rw-r--r--include/asm-m68k/init.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-m68k/init.h b/include/asm-m68k/init.h
index 9d366561a..022300376 100644
--- a/include/asm-m68k/init.h
+++ b/include/asm-m68k/init.h
@@ -15,6 +15,9 @@
#define __FINIT .previous
#define __INITDATA .section ".data.init",#alloc,#write
+#define __cacheline_aligned __attribute__ \
+ ((__aligned__(16), __section__ (".data.cacheline_aligned")))
+
#else
/* gdb doesn't like it all if the code for one source file isn't together in
@@ -27,7 +30,8 @@
#define __INIT
#define __FINIT
#define __INITDATA
+#define __cacheline_aligned __attribute__ ((__aligned__(16)))
#endif /* CONFIG_KGDB */
-
+
#endif