mm: move cache_line_size() to <linux/cache.h>
[safe/jmp/linux-2.6] / mm / slab.c
index 7bc4a13..39d20f8 100644 (file)
--- a/mm/slab.c
+++ b/mm/slab.c
 #define        BYTES_PER_WORD          sizeof(void *)
 #define        REDZONE_ALIGN           max(BYTES_PER_WORD, __alignof__(unsigned long long))
 
-#ifndef cache_line_size
-#define cache_line_size()      L1_CACHE_BYTES
-#endif
-
 #ifndef ARCH_KMALLOC_MINALIGN
 /*
  * Enforce a minimum alignment for the kmalloc caches.