summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorAl Viro2008-11-22 18:33:44 +0100
committerLinus Torvalds2008-11-30 19:03:35 +0100
commit4ea8fb9c1cc67bee980dca589ec8d0d4e62858c7 (patch)
treeab3453e0f93dccaaad90f27eadca4c5492d69a22 /arch/powerpc/include
parentfalse __cpuinit positives on alpha (diff)
downloadkernel-qcow2-linux-4ea8fb9c1cc67bee980dca589ec8d0d4e62858c7.tar.gz
kernel-qcow2-linux-4ea8fb9c1cc67bee980dca589ec8d0d4e62858c7.tar.xz
kernel-qcow2-linux-4ea8fb9c1cc67bee980dca589ec8d0d4e62858c7.zip
powerpc set_huge_psize() false positive
called only from __init, calls __init. Incidentally, it ought to be static in file. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/mmu-hash64.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/mmu-hash64.h b/arch/powerpc/include/asm/mmu-hash64.h
index 5a441742ffba..68b752626808 100644
--- a/arch/powerpc/include/asm/mmu-hash64.h
+++ b/arch/powerpc/include/asm/mmu-hash64.h
@@ -280,7 +280,6 @@ extern int hash_huge_page(struct mm_struct *mm, unsigned long access,
extern int htab_bolt_mapping(unsigned long vstart, unsigned long vend,
unsigned long pstart, unsigned long prot,
int psize, int ssize);
-extern void set_huge_psize(int psize);
extern void add_gpage(unsigned long addr, unsigned long page_size,
unsigned long number_of_pages);
extern void demote_segment_4k(struct mm_struct *mm, unsigned long addr);