From bef00431ca64c16e7fa5f67754c4dd01d70701e7 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 9 Nov 2012 14:04:27 +1100 Subject: [PATCH] mm-use-vm_unmapped_area-on-sparc64-architecture-fix remove now-unused COLOUR_ALIGN_DOWN() Cc: "David S. Miller" Cc: "H. Peter Anvin" Cc: Chris Metcalf Cc: Hugh Dickins Cc: Ingo Molnar Cc: Michel Lespinasse Cc: Paul Mundt Cc: Ralf Baechle Cc: Rik van Riel Cc: Russell King Cc: Thomas Gleixner Signed-off-by: Andrew Morton --- arch/sparc/kernel/sys_sparc_64.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/arch/sparc/kernel/sys_sparc_64.c b/arch/sparc/kernel/sys_sparc_64.c index db2db7940bcd..2a5d61587ca2 100644 --- a/arch/sparc/kernel/sys_sparc_64.c +++ b/arch/sparc/kernel/sys_sparc_64.c @@ -84,17 +84,6 @@ static inline unsigned long COLOUR_ALIGN(unsigned long addr, return base + off; } -static inline unsigned long COLOUR_ALIGN_DOWN(unsigned long addr, - unsigned long pgoff) -{ - unsigned long base = addr & ~(SHMLBA-1); - unsigned long off = (pgoff<mm; -- 2.39.5