mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-30 18:47:25 +00:00 
			
		
		
		
	 40cb989fcf
			
		
	
	
		40cb989fcf
		
	
	
	
	
		
			
			With SLAB, it works without ARCH_KMALLOC_MINALIGN, but with SLOB/SLUB, ARCH_KMALLOC_MINALIGN is required to ensure alignment of kmalloced buffer. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> To: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/1248/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
		
			
				
	
	
		
			7 lines
		
	
	
		
			160 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			160 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __ASM_MACH_TX49XX_KMALLOC_H
 | |
| #define __ASM_MACH_TX49XX_KMALLOC_H
 | |
| 
 | |
| #define ARCH_KMALLOC_MINALIGN	L1_CACHE_BYTES
 | |
| 
 | |
| #endif /* __ASM_MACH_TX49XX_KMALLOC_H */
 |