]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Fix sparsemem on Cell
authorDave Hansen <haveblue@us.ibm.com>
Thu, 11 Jan 2007 07:15:30 +0000 (23:15 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 12 Jan 2007 02:18:20 +0000 (18:18 -0800)
commita2f3aa02576632cdb60bd3de1f4bf55e9ac65604
tree2b9b73675de73866fbd219fab5bf2d804e6817b1
parent47a4d5be7c50b2e9b905abbe2b97dc87051c5a44
[PATCH] Fix sparsemem on Cell

Fix an oops experienced on the Cell architecture when init-time functions,
early_*(), are called at runtime.  It alters the call paths to make sure
that the callers explicitly say whether the call is being made on behalf of
a hotplug even, or happening at boot-time.

It has been compile tested on ppc64, ia64, s390, i386 and x86_64.

Acked-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
Acked-by: Andy Whitcroft <apw@shadowen.org>
Cc: Christoph Lameter <clameter@engr.sgi.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ia64/mm/init.c
arch/s390/mm/vmem.c
include/linux/mm.h
include/linux/mmzone.h
mm/memory_hotplug.c
mm/page_alloc.c