Index: arm/include/param.h =================================================================== --- arm/include/param.h (revision 190941) +++ arm/include/param.h (working copy) @@ -81,6 +81,10 @@ #define ALIGNBYTES _ALIGNBYTES #define ALIGN(p) _ALIGN(p) +#ifndef CACHE_LINE_SIZE +#define CACHE_LINE_SIZE 64 +#endif + #define PAGE_SHIFT 12 #define PAGE_SIZE (1 << PAGE_SHIFT) /* Page size */ #define PAGE_MASK (PAGE_SIZE - 1) Index: powerpc/include/param.h =================================================================== --- powerpc/include/param.h (revision 190941) +++ powerpc/include/param.h (working copy) @@ -79,6 +79,10 @@ #define ALIGNBYTES _ALIGNBYTES #define ALIGN(p) _ALIGN(p) +#ifndef CACHE_LINE_SIZE +#define CACHE_LINE_SIZE 64 +#endif + #define PAGE_SHIFT 12 #define PAGE_SIZE (1 << PAGE_SHIFT) /* Page size */ #define PAGE_MASK (PAGE_SIZE - 1) Index: sparc64/include/param.h =================================================================== --- sparc64/include/param.h (revision 190941) +++ sparc64/include/param.h (working copy) @@ -71,6 +71,10 @@ #define ALIGNBYTES _ALIGNBYTES #define ALIGN(p) _ALIGN(p) +#ifndef CACHE_LINE_SIZE +#define CACHE_LINE_SIZE 64 +#endif + #define PAGE_SHIFT_8K 13 #define PAGE_SIZE_8K (1L<