]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-use-vm_unmapped_area-on-sparc32-architecture-fix-fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 29 Nov 2012 03:17:20 +0000 (14:17 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:07 +0000 (16:23 +1100)
remove now-unused COLOUR_ALIGN()

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Michel Lespinasse <walken@google.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/sparc/kernel/sys_sparc_32.c

index a20b5ab4c70153feb4aee5317249a14e2bbce2b0..2da0bdcae52f765e0e7e021082064bc99e6e0ace 100644 (file)
@@ -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;