Эх сурвалжийг харах

[POWERPC] spufs: fix memory hotplug dependency

spufs_base.c calls __add_pages, which depends on CONFIG_MEMORY_HOTPLUG.

Moved the selection of CONFIG_MEMORY_HOTPLUG from CONFIG_SPUFS_MMAP
to CONFIG_SPU_FS.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Geoff Levand 19 жил өмнө
parent
commit
4da30d15b6

+ 1 - 1
arch/powerpc/platforms/cell/Kconfig

@@ -6,6 +6,7 @@ config SPU_FS
 	default m
 	default m
 	depends on PPC_CELL
 	depends on PPC_CELL
 	select SPU_BASE
 	select SPU_BASE
+	select MEMORY_HOTPLUG
 	help
 	help
 	  The SPU file system is used to access Synergistic Processing
 	  The SPU file system is used to access Synergistic Processing
 	  Units on machines implementing the Broadband Processor
 	  Units on machines implementing the Broadband Processor
@@ -18,7 +19,6 @@ config SPU_BASE
 config SPUFS_MMAP
 config SPUFS_MMAP
 	bool
 	bool
 	depends on SPU_FS && SPARSEMEM
 	depends on SPU_FS && SPARSEMEM
-	select MEMORY_HOTPLUG
 	default y
 	default y
 
 
 config CBE_RAS
 config CBE_RAS