>From 3b461766df1841f03e740b91efc38132eae74f86 Mon Sep 17 00:00:00 2001 From: Giuseppe Cavallaro Date: Fri, 13 Feb 2009 15:06:39 +0100 Subject: [PATCH] sh: add the default value for ARCH_SLAB_MAX_DEBUG_ALIGN define. Add and enforce ARCH_SLAB_MAX_DEBUG_ALIGN to the cache line size. Signed-off-by: Giuseppe Cavallaro --- 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