[PATCH]: powerpc: hugepage compile break in latest 2.6.15-rc5-mm2
linas
linas at austin.ibm.com
Tue Dec 13 04:28:28 EST 2005
Hugepage doesn't compile out-of-the-box on linux-2.6.15-rc5-mm2.
This patch fixes the compile breakage, but the patch authors may want
to double-check that the rest of the patch series has applied correctly.
Signed-off-by: Linas Vepstas <linas at austin.ibm.com>
Index: linux-2.6.15-rc5-mm2/arch/powerpc/mm/hugetlbpage.c
===================================================================
--- linux-2.6.15-rc5-mm2.orig/arch/powerpc/mm/hugetlbpage.c 2005-12-12 10:54:50.430595723 -0600
+++ linux-2.6.15-rc5-mm2/arch/powerpc/mm/hugetlbpage.c 2005-12-12 11:12:08.621525777 -0600
@@ -280,7 +280,6 @@
{
struct slb_flush_info fi;
unsigned long i;
- struct slb_flush_info fi;
BUILD_BUG_ON((sizeof(newareas)*8) != NUM_HIGH_AREAS);
BUILD_BUG_ON((sizeof(mm->context.high_htlb_areas)*8)
@@ -621,7 +620,6 @@
{
int lastshift;
u16 areamask, curareas;
- struct vm_area_struct *vma;
if (HPAGE_SHIFT == 0)
return -EINVAL;
More information about the Linuxppc64-dev
mailing list