• David Howells's avatar
    FRV: ARCH_KMALLOC_MINALIGN was already defined · 8507bb00
    David Howells authored
    ARCH_KMALLOC_MINALIGN was already defined in asm/mem-layout.h and so shouldn't
    have been added to asm/cache.h as well, but rather altered in place.
    
    The commit that added it to asm/cache.h was:
    
    	commit 69dcf3db
    	Author: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
    	Date:   Mon May 24 14:32:54 2010 -0700
    
    	    frv: set ARCH_KMALLOC_MINALIGN
    
    	    Architectures that handle DMA-non-coherent memory need to set
    	    ARCH_KMALLOC_MINALIGN to make sure that kmalloc'ed buffer is
    	    DMA-safe: the buffer doesn't share a cache with the others.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    8507bb00
mem-layout.h 2.21 KB