From: Joel H Schopp Date: Mon, 1 May 2006 19:16:11 +0000 (-0700) Subject: [PATCH] spufs: fix for CONFIG_NUMA X-Git-Tag: v2.6.17-rc4~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bed120c64eb07b6838bb758109811484af8cebba;p=pandora-kernel.git [PATCH] spufs: fix for CONFIG_NUMA Based on an older patch from Mike Kravetz 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 Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed