Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af705362 authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Linus Torvalds
Browse files

[PATCH] generify memory present



Allow architectures to indicate that they will be providing hooks to indice
installed memory areas, memory_present().  Provide prototypes for the i386
implementation.

Signed-off-by: default avatarAndy Whitcroft <apw@shadowen.org>
Signed-off-by: default avatarDave Hansen <haveblue@us.ibm.com>
Signed-off-by: default avatarMartin Bligh <mbligh@aracnet.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b159d43f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -793,7 +793,7 @@ config HAVE_ARCH_BOOTMEM_NODE
	depends on NUMA
	depends on NUMA
	default y
	default y


config HAVE_MEMORY_PRESENT
config ARCH_HAVE_MEMORY_PRESENT
	bool
	bool
	depends on DISCONTIGMEM
	depends on DISCONTIGMEM
	default y
	default y
+4 −0
Original line number Original line Diff line number Diff line
@@ -53,3 +53,7 @@ config FLATMEM
config NEED_MULTIPLE_NODES
config NEED_MULTIPLE_NODES
	def_bool y
	def_bool y
	depends on DISCONTIGMEM || NUMA
	depends on DISCONTIGMEM || NUMA

config HAVE_MEMORY_PRESENT
	def_bool y
	depends on ARCH_HAVE_MEMORY_PRESENT