From 39f7248883b8ca6ea1eafc9f353ac48fdfad0775 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 29 Nov 2012 14:17:20 +1100 Subject: [PATCH] mm-use-vm_unmapped_area-on-sparc32-architecture-fix-fix remove now-unused COLOUR_ALIGN() Cc: "David S. Miller" Cc: Michel Lespinasse Cc: Stephen Rothwell Signed-off-by: Andrew Morton --- arch/sparc/kernel/sys_sparc_32.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/sparc/kernel/sys_sparc_32.c b/arch/sparc/kernel/sys_sparc_32.c index a20b5ab4c701..2da0bdcae52f 100644 --- a/arch/sparc/kernel/sys_sparc_32.c +++ b/arch/sparc/kernel/sys_sparc_32.c @@ -34,8 +34,6 @@ asmlinkage unsigned long sys_getpagesize(void) return PAGE_SIZE; /* Possibly older binaries want 8192 on sun4's? */ } -#define COLOUR_ALIGN(addr) (((addr)+SHMLBA-1)&~(SHMLBA-1)) - unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags) { struct vm_unmapped_area_info info; -- 2.39.5