[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060914173705.GC19807@shell0.pdx.osdl.net>
Date: Thu, 14 Sep 2006 10:37:05 -0700
From: Judith Lebzelter <judith@...l.org>
To: linux-kernel@...r.kernel.org
Cc: mel@....ul.ie, akpm@...l.org
Subject: 2.6.18-rc6-mm2: fix for error compiling ppc/mm/init.c
Hello,
For ppc in our cross-compile build farm (PLM), there is an error
compiling file ppc/mm/init.c:
CC arch/ppc/mm/init.o
CC arch/powerpc/kernel/init_task.o
arch/ppc/mm/init.c: In function 'paging_init':
arch/ppc/mm/init.c:381: error: subscripted value is neither array nor pointer
arch/ppc/mm/init.c:383: warning: passing argument 1 of '/' makes pointer from integer without a cast
make[1]: [arch/ppc/mm/init.o] Error 1 (ignored)
This is caused by an error/oversight in file
'have-power-use-add_active_range-and-free_area_init_nodes.patch'
Here is a patch to fix that patch.
Thanks;
Judith Lebzelter
OSDL
--- arch/ppc/mm/init.c.old 2006-09-14 09:40:51.964543641 -0700
+++ arch/ppc/mm/init.c 2006-09-14 10:04:46.814015750 -0700
@@ -359,7 +359,7 @@
void __init paging_init(void)
{
unsigned long start_pfn, end_pfn;
- unsigned long max_zone_pfns;
+ unsigned long max_zone_pfns[MAX_NR_ZONES];
#ifdef CONFIG_HIGHMEM
map_page(PKMAP_BASE, 0, 0); /* XXX gross */
pkmap_page_table = pte_offset_kernel(pmd_offset(pgd_offset_k
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists