projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f3fd60
)
[PATCH] mm: pfn_to_pgdat not used in common code
author
Andy Whitcroft
<apw@shadowen.org>
Fri, 6 Jan 2006 08:10:50 +0000
(
00:10
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:24 +0000
(08:33 -0800)
pfn_to_pgdat() isn't used in common code. Remove definition.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mmzone.h
patch
|
blob
|
history
diff --git
a/include/linux/mmzone.h
b/include/linux/mmzone.h
index
3c49f78
..
28f8496
100644
(file)
--- a/
include/linux/mmzone.h
+++ b/
include/linux/mmzone.h
@@
-596,11
+596,6
@@
static inline int pfn_valid(unsigned long pfn)
#define pfn_to_nid early_pfn_to_nid
#endif
-#define pfn_to_pgdat(pfn) \
-({ \
- NODE_DATA(pfn_to_nid(pfn)); \
-})
-
#define early_pfn_valid(pfn) pfn_valid(pfn)
void sparse_init(void);
#else