summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/mmzone_32.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-01-30 13:30:37 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:30:37 +0100
commit4757d7d8d00c5f8b2c176ca03b0a8eabbc206664 (patch)
treec362ddaf7c19fdf3703d414ad9f078a47790352f /include/asm-x86/mmzone_32.h
parent0b80fc721bed2635c7f0b198e1c862a4596dc2cd (diff)
downloadblackbird-op-linux-4757d7d8d00c5f8b2c176ca03b0a8eabbc206664.tar.gz
blackbird-op-linux-4757d7d8d00c5f8b2c176ca03b0a8eabbc206664.zip
x86: put all kern_addr_valid() incarnations to pgtable.h
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/mmzone_32.h')
-rw-r--r--include/asm-x86/mmzone_32.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-x86/mmzone_32.h b/include/asm-x86/mmzone_32.h
index 118e9812778f..5d6f4ce6e6d6 100644
--- a/include/asm-x86/mmzone_32.h
+++ b/include/asm-x86/mmzone_32.h
@@ -87,9 +87,6 @@ static inline int pfn_to_nid(unsigned long pfn)
__pgdat->node_start_pfn + __pgdat->node_spanned_pages; \
})
-/* XXX: FIXME -- wli */
-#define kern_addr_valid(kaddr) (0)
-
#ifdef CONFIG_X86_NUMAQ /* we have contiguous memory on NUMA-Q */
#define pfn_valid(pfn) ((pfn) < num_physpages)
#else
OpenPOWER on IntegriCloud