[PATCH] sh: add the default value for ARCH_SLAB_MAX_DEBUG_ALIGN define.

From: Giuseppe Cavallaro
Date: Fri Feb 13 2009 - 09:06:39 EST


Add and enforce ARCH_SLAB_MAX_DEBUG_ALIGN to the cache line size.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@xxxxxx>
---
arch/sh/include/asm/page.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/sh/include/asm/page.h b/arch/sh/include/asm/page.h
index 5871d78..14768c8 100644
--- a/arch/sh/include/asm/page.h
+++ b/arch/sh/include/asm/page.h
@@ -182,4 +182,6 @@ typedef struct page *pgtable_t;
#define ARCH_SLAB_MINALIGN 8
#endif

+#define ARCH_SLAB_MAX_DEBUG_ALIGN L1_CACHE_BYTES
+
#endif /* __ASM_SH_PAGE_H */
--
1.5.6.6


--------------030203020209040702050708--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/