From: Dave Hansen <haveblue@us.ibm.com>
To: akpm@osdl.org
Cc: mbligh@aracnet.com, linux-mm@kvack.org,
Dave Hansen <haveblue@us.ibm.com>
Subject: [patch] remove pfn_to_pgdat() on x86
Date: Thu, 16 Dec 2004 14:00:19 -0800 [thread overview]
Message-ID: <E1Cf3fY-0002qD-00@kernel.beaverton.ibm.com> (raw)
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>
reply other threads:[~2004-12-16 22:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1Cf3fY-0002qD-00@kernel.beaverton.ibm.com \
--to=haveblue@us.ibm.com \
--cc=akpm@osdl.org \
--cc=linux-mm@kvack.org \
--cc=mbligh@aracnet.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox