Commit 8f9cef15 authored by Dave Hansen's avatar Dave Hansen Committed by Linus Torvalds

[PATCH] remove pfn_to_pgdat() on x86

This function is unused on i386.
Signed-off-by: default avatarDave Hansen <haveblue@us.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a00045c1
...@@ -48,12 +48,6 @@ static inline int pfn_to_nid(unsigned long pfn) ...@@ -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.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment