Skip to content

Commit

Permalink
[PATCH] generify memory present
Browse files Browse the repository at this point in the history
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: Andy Whitcroft <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Signed-off-by: Martin Bligh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
awhitcroft authored and Linus Torvalds committed Jun 23, 2005
1 parent b159d43 commit af70536
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/i386/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ config HAVE_ARCH_BOOTMEM_NODE
depends on NUMA
default y

config HAVE_MEMORY_PRESENT
config ARCH_HAVE_MEMORY_PRESENT
bool
depends on DISCONTIGMEM
default y
Expand Down
4 changes: 4 additions & 0 deletions mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,7 @@ config FLATMEM
config NEED_MULTIPLE_NODES
def_bool y
depends on DISCONTIGMEM || NUMA

config HAVE_MEMORY_PRESENT
def_bool y
depends on ARCH_HAVE_MEMORY_PRESENT

0 comments on commit af70536

Please sign in to comment.