+ have-power-use-add_active_range-and-free_area_init_nodes-ppc-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     have-power-use-add_active_range-and-free_area_init_nodes fix

has been added to the -mm tree.  Its filename is

     have-power-use-add_active_range-and-free_area_init_nodes-ppc-fix.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: have-power-use-add_active_range-and-free_area_init_nodes fix
From: Judith Lebzelter <judith@xxxxxxxx>

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'

Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Cc: Paul Mackerras <paulus@xxxxxxxxx>
Acked-by: Mel Gorman <mel@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/ppc/mm/init.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/ppc/mm/init.c~have-power-use-add_active_range-and-free_area_init_nodes-ppc-fix arch/ppc/mm/init.c
--- a/arch/ppc/mm/init.c~have-power-use-add_active_range-and-free_area_init_nodes-ppc-fix
+++ a/arch/ppc/mm/init.c
@@ -359,7 +359,7 @@ void __init do_init_bootmem(void)
 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
_

Patches currently in -mm which might be from judith@xxxxxxxx are

have-power-use-add_active_range-and-free_area_init_nodes-ppc-fix.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux