]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] spufs: fix for CONFIG_NUMA
authorJoel H Schopp <jschopp@us.ibm.com>
Mon, 1 May 2006 19:16:11 +0000 (12:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 2 May 2006 01:17:46 +0000 (18:17 -0700)
commitf4a904fbae6d50c35ebeafc1a53e565b31607efb
tree884231ab38d01a2b19c6d062f5230ea8b9f5ecb3
parent39865ce0c2698300818de9d65c7b6625eb396706
[PATCH] spufs: fix for CONFIG_NUMA

Based on an older patch from  Mike Kravetz <kravetz@us.ibm.com>

We need to have a mem_map for high addresses in order to make fops->no_page
work on spufs mem and register files.  So far, we have used the
memory_present() function during early bootup, but that did not work when
CONFIG_NUMA was enabled.

We now use the __add_pages() function to add the mem_map when loading the
spufs module, which is a lot nicer.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/powerpc/platforms/cell/Kconfig
arch/powerpc/platforms/cell/setup.c
arch/powerpc/platforms/cell/spu_base.c
mm/memory_hotplug.c