x86_64 out of line numa funcs are discontig only
PATCH 1/1 x86_64 out of line numa funcs are discontig only
Grrrr, patch sender collapsed the cc lines ...
-------- Original Message --------
Subject: [PATCH] x86_64 out of line numa funcs are discontig only
Date: Wed, 11 Jan 2006 18:14:11 +0000
From: Andy Whitcroft <[email protected]>
To: Andrew Morton <[email protected]>
CC: Andi Kleen <[email protected]>
References: <[email protected]>
x86_64 out of line numa funcs are discontig only
The following patch included in 2.6.15-mm3 moves the inline DISCONTIGMEM page accessor functions into numa.c. However, these are only used under DISCONTIGMEM and need covered by CONFIG_DISCONTIGMEM:
x86_64-out-of-line-numa-funcs.patch
Signed-off-by Andy Whitcroft <[email protected]>
--- numa.c | 2 ++ 1 files changed, 2 insertions(+)
arch/x86_64/mm/numa.c +2 -0
@@ -361,6 +361,7 @@ EXPORT_SYMBOL(memnode_shift);EXPORT_SYMBOL (memnodemap);EXPORT_SYMBOL (node_data); +#ifdef CONFIG_DISCONTIGMEM /* * Functions to convert PFNs from/to per node page addresses. * These are out of line because they are quite big.
@@ -394,3 +395,4 @@ int pfn_valid(unsigned long pfn) return pfn >= node_start_pfn(nid) && (pfn) < node_end_pfn(nid); }EXPORT_SYMBOL (pfn_valid); +#endif /* CONFIG_DISCONTIGMEM */