diff options
author | Joel H Schopp <jschopp@us.ibm.com> | 2006-05-01 19:16:11 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-05-02 01:17:46 (GMT) |
commit | bed120c64eb07b6838bb758109811484af8cebba (patch) | |
tree | 884231ab38d01a2b19c6d062f5230ea8b9f5ecb3 /arch/powerpc/platforms/cell/Kconfig | |
parent | 46a66eecdf7bc12562ecb492297447ed0e1ecf59 (diff) | |
download | linux-fsl-qoriq-bed120c64eb07b6838bb758109811484af8cebba.tar.xz |
[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>
Diffstat (limited to 'arch/powerpc/platforms/cell/Kconfig')
-rw-r--r-- | arch/powerpc/platforms/cell/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/Kconfig b/arch/powerpc/platforms/cell/Kconfig index c2a3db8..6a02d51 100644 --- a/arch/powerpc/platforms/cell/Kconfig +++ b/arch/powerpc/platforms/cell/Kconfig @@ -12,7 +12,8 @@ config SPU_FS config SPUFS_MMAP bool - depends on SPU_FS && SPARSEMEM && !PPC_64K_PAGES + depends on SPU_FS && SPARSEMEM + select MEMORY_HOTPLUG default y endmenu |