Fix ARCH_KMALLOC_MINALIGN values on MIPS
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
13
include/asm-mips/mach-generic/kmalloc.h
Normal file
13
include/asm-mips/mach-generic/kmalloc.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef __ASM_MACH_GENERIC_KMALLOC_H
|
||||
#define __ASM_MACH_GENERIC_KMALLOC_H
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#ifndef CONFIG_DMA_COHERENT
|
||||
/*
|
||||
* Total overkill for most systems but need as a safe default.
|
||||
*/
|
||||
#define ARCH_KMALLOC_MINALIGN 128
|
||||
#endif
|
||||
|
||||
#endif /* __ASM_MACH_GENERIC_KMALLOC_H */
|
Reference in New Issue
Block a user