lkml.org 
[lkml]   [2006]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-09-14 19:39    [W:2.088 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site