From: Andy Whitcroft <apw@shadowen.org>
To: akpm@osdl.org
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
apw@shadowen.org, haveblue@us.ibm.com, kravetz@us.ibm.com
Subject: [2/6] generify memory present
Date: Wed, 04 May 2005 21:22:56 +0100 [thread overview]
Message-ID: <E1DTQOW-0002V4-TN@pinky.shadowen.org> (raw)
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 <apw@shadowen.org>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Martin Bligh <mbligh@aracnet.com>
---
arch/i386/Kconfig | 2 +-
mm/Kconfig | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff -X /home/apw/brief/lib/vdiff.excl -rupN reference/arch/i386/Kconfig current/arch/i386/Kconfig
--- reference/arch/i386/Kconfig 2005-05-04 20:54:26.000000000 +0100
+++ current/arch/i386/Kconfig 2005-05-04 20:54:26.000000000 +0100
@@ -777,7 +777,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
diff -X /home/apw/brief/lib/vdiff.excl -rupN reference/mm/Kconfig current/mm/Kconfig
--- reference/mm/Kconfig 2005-05-04 20:54:24.000000000 +0100
+++ current/mm/Kconfig 2005-05-04 20:54:26.000000000 +0100
@@ -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
reply other threads:[~2005-05-04 20:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1DTQOW-0002V4-TN@pinky.shadowen.org \
--to=apw@shadowen.org \
--cc=akpm@osdl.org \
--cc=haveblue@us.ibm.com \
--cc=kravetz@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®