From: Judith Lebzelter <judith@osdl.org>
To: linux-kernel@vger.kernel.org
Cc: mel@csn.ul.ie, akpm@osdl.org
Subject: 2.6.18-rc6-mm2: fix for error compiling ppc/mm/init.c
Date: Thu, 14 Sep 2006 10:37:05 -0700 [thread overview]
Message-ID: <20060914173705.GC19807@shell0.pdx.osdl.net> (raw)
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
next reply other threads:[~2006-09-14 17:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-14 17:37 Judith Lebzelter [this message]
2006-09-14 18:11 ` 2.6.18-rc6-mm2: fix for error compiling ppc/mm/init.c Mel Gorman
2006-10-03 4:24 ` Benjamin Herrenschmidt
2006-10-03 8:51 ` Mel Gorman
2006-10-03 9:19 ` Benjamin Herrenschmidt
2006-10-03 9:34 ` Mel Gorman
2006-10-03 12:12 ` Benjamin Herrenschmidt
2006-10-03 13:04 ` Mel Gorman
2006-10-04 3:22 ` Benjamin Herrenschmidt
2006-10-04 14:12 ` Mel Gorman
2006-10-05 9:09 ` Benjamin Herrenschmidt
2006-10-09 23:25 ` Paul Mackerras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060914173705.GC19807@shell0.pdx.osdl.net \
--to=judith@osdl.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mel@csn.ul.ie \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox