]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/page.h
Linux 2.6.16
[linux-2.6-omap-h63xx.git] / include / asm-arm / page.h
index 4da1d532cbebd751ecba5ead32ba866ca8f9f7db..416320d95419579178b82ea6aba75a381be7e706 100644 (file)
@@ -170,6 +170,13 @@ extern pmd_t *top_pmd;
 #define VM_DATA_DEFAULT_FLAGS  (VM_READ | VM_WRITE | VM_EXEC | \
                                 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
 
+/*
+ * With EABI on ARMv5 and above we must have 64-bit aligned slab pointers.
+ */
+#if defined(CONFIG_AEABI) && (__LINUX_ARM_ARCH__ >= 5)
+#define ARCH_SLAB_MINALIGN 8
+#endif
+
 #endif /* __KERNEL__ */
 
 #include <asm-generic/page.h>