mirror of https://gitee.com/openkylin/linux.git
[PATCH] mm: pfn_to_pgdat not used in common code
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>
This commit is contained in:
parent
9f3fd602ae
commit
d5afa6dcf7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue