diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-04-12 00:54:44 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-04-12 00:54:44 -0700 |
| commit | 66fb1123391ed704997523cb6daea7fae00dcb83 (patch) | |
| tree | 212be10f9ddd636d0c028663fa09c4f6d848e777 /include/linux | |
| parent | fbf7adfafae19dd118facbbfe011510ba6aa8315 (diff) | |
[PATCH] rename page_to_nodenum()
From: "Martin J. Bligh" <mbligh@aracnet.com>
I'd prefer we renamed this to page_to_nid() before anyone starts using it.
This fits with the naming convention of everything else (pfn_to_nid, etc).
Nobody uses it right now - I grepped the whole tree.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 796f498658d6..d453a0ab62a7 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -351,7 +351,7 @@ static inline unsigned long page_zonenum(struct page *page) { return (page->flags >> NODEZONE_SHIFT) & (~(~0UL << ZONES_SHIFT)); } -static inline unsigned long page_nodenum(struct page *page) +static inline unsigned long page_to_nid(struct page *page) { return (page->flags >> (NODEZONE_SHIFT + ZONES_SHIFT)); } |
