X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Fasm-frv%2Fmem-layout.h;h=2947764fc0e042b997b71078246701c19cef5e46;hb=7019b1b50097a94d0f8a77b81bee0b19b108c634;hp=734a1d0583b6fc26f777bef0e06a8572f1a55ea5;hpb=71b264f85ff50c14fe945ffff06ae0d5e9a9124e;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-frv/mem-layout.h b/include/asm-frv/mem-layout.h index 734a1d0583b..2947764fc0e 100644 --- a/include/asm-frv/mem-layout.h +++ b/include/asm-frv/mem-layout.h @@ -31,6 +31,13 @@ #define PAGE_MASK (~(PAGE_SIZE-1)) +/* + * the slab must be aligned such that load- and store-double instructions don't + * fault if used + */ +#define ARCH_KMALLOC_MINALIGN 8 +#define ARCH_SLAB_MINALIGN 8 + /*****************************************************************************/ /* * virtual memory layout from kernel's point of view