* [patch] remove pfn_to_pgdat() on x86
@ 2004-12-16 22:00 Dave Hansen
0 siblings, 0 replies; only message in thread
From: Dave Hansen @ 2004-12-16 22:00 UTC (permalink / raw)
To: akpm; +Cc: mbligh, linux-mm, Dave Hansen
This function is unused on i386.
Does anybody see a reason not to get rid of it?
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
---
apw2-dave/include/asm-i386/mmzone.h | 6 ------
1 files changed, 6 deletions(-)
diff -puN include/asm-i386/mmzone.h~001-remove-pfn_to_pgdat include/asm-i386/mmzone.h
--- apw2/include/asm-i386/mmzone.h~001-remove-pfn_to_pgdat 2004-12-16 13:56:36.000000000 -0800
+++ apw2-dave/include/asm-i386/mmzone.h 2004-12-16 13:56:36.000000000 -0800
@@ -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 majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-16 22:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-16 22:00 [patch] remove pfn_to_pgdat() on x86 Dave Hansen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox