git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
asm-i386
/
mmzone.h
diff --git
a/include/asm-i386/mmzone.h
b/include/asm-i386/mmzone.h
index
ed348f3
..
13830ae
100644
(file)
--- a/
include/asm-i386/mmzone.h
+++ b/
include/asm-i386/mmzone.h
@@
-48,12
+48,6
@@
static inline int pfn_to_nid(unsigned long pfn)
#endif
}
#endif
}
-static inline struct pglist_data *pfn_to_pgdat(unsigned long pfn)
-{
- return(NODE_DATA(pfn_to_nid(pfn)));
-}
-
-
/*
* Following are macros that are specific to this numa platform.
*/
/*
* Following are macros that are specific to this numa platform.
*/
@@
-116,7
+110,6
@@
static inline struct pglist_data *pfn_to_pgdat(unsigned long pfn)
(unsigned long)(__page - __zone->zone_mem_map) \
+ __zone->zone_start_pfn; \
})
(unsigned long)(__page - __zone->zone_mem_map) \
+ __zone->zone_start_pfn; \
})
-#define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT))
#ifdef CONFIG_X86_NUMAQ /* we have contiguous memory on NUMA-Q */
#define pfn_valid(pfn) ((pfn) < num_physpages)
#ifdef CONFIG_X86_NUMAQ /* we have contiguous memory on NUMA-Q */
#define pfn_valid(pfn) ((pfn) < num_physpages)