X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-i386%2Fmmzone.h;h=13830ae67caca65fc5250ce7d425689ad6bde0dd;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=ed348f37eefc4d3db114ec6c0127b4bee3d6e5cd;hpb=9bf4aaab3e101692164d49b7ca357651eb691cb6;p=linux-2.6.git diff --git a/include/asm-i386/mmzone.h b/include/asm-i386/mmzone.h index ed348f37e..13830ae67 100644 --- 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 } -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. */ @@ -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; \ }) -#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)