Skip to contentSkip to conversation

remove pfn_to_pgdat() on x86

PATCH New Dave Hansen 1 participant 1 message Dec 16, 2004 Memory management

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove pfn_to_pgdat() on x86

This function is unused on i386.

Does anybody see a reason not to get rid of it?

---

 apw2-dave/include/asm-i386/mmzone.h |    6 ------
 1 files changed, 6 deletions(-)
include/asm-i386/mmzone.h renamed from include/asm-i386/mmzone.h~001-remove-pfn_to_pgdat +0 -6
diff -puN include/asm-i386/mmzone.h~001-remove-pfn_to_pgdat include/asm-i386/mmzone.h
@@ -48,12 +48,6 @@ static inline int pfn_to_nid(unsigned lo
 #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.
  */

_
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>