summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorMichel Lespinasse2013-04-29 20:53:52 +0200
committerBenjamin Herrenschmidt2013-04-30 03:05:10 +0200
commit34d07177b802e963f3b14bf3dd8caf294f41fea7 (patch)
tree38a20210326cde47f836875e71f59b63577a02ad /arch/powerpc/include/asm
parentpowerpc/perf: Enable branch stack sampling framework (diff)
downloadkernel-qcow2-linux-34d07177b802e963f3b14bf3dd8caf294f41fea7.tar.gz
kernel-qcow2-linux-34d07177b802e963f3b14bf3dd8caf294f41fea7.tar.xz
kernel-qcow2-linux-34d07177b802e963f3b14bf3dd8caf294f41fea7.zip
mm: remove free_area_cache use in powerpc architecture
As all other architectures have been converted to use vm_unmapped_area(), we are about to retire the free_area_cache. This change simply removes the use of that cache in slice_get_unmapped_area(), which will most certainly have a performance cost. Next one will convert that function to use the vm_unmapped_area() infrastructure and regain the performance. Signed-off-by: Michel Lespinasse <walken@google.com> Acked-by: Rik van Riel <riel@redhat.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r--arch/powerpc/include/asm/page_64.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/page_64.h b/arch/powerpc/include/asm/page_64.h
index cd915d6b093d..88693cef4f3d 100644
--- a/arch/powerpc/include/asm/page_64.h
+++ b/arch/powerpc/include/asm/page_64.h
@@ -99,8 +99,7 @@ extern unsigned long slice_get_unmapped_area(unsigned long addr,
unsigned long len,
unsigned long flags,
unsigned int psize,
- int topdown,
- int use_cache);
+ int topdown);
extern unsigned int get_slice_psize(struct mm_struct *mm,
unsigned long addr);