projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/mfasheh...
[firefly-linux-kernel-4.4.55.git]
/
include
/
asm-parisc
/
mmzone.h
diff --git
a/include/asm-parisc/mmzone.h
b/include/asm-parisc/mmzone.h
index ceb9b73199d132273c135cbf646711c412306591..c87813662d4da83d80d78dc8cb65a7fd43a64822 100644
(file)
--- a/
include/asm-parisc/mmzone.h
+++ b/
include/asm-parisc/mmzone.h
@@
-14,11
+14,6
@@
extern struct node_map_data node_data[];
#define NODE_DATA(nid) (&node_data[nid].pg_data)
#define NODE_DATA(nid) (&node_data[nid].pg_data)
-/*
- * Given a kernel address, find the home node of the underlying memory.
- */
-#define kvaddr_to_nid(kaddr) pfn_to_nid(__pa(kaddr) >> PAGE_SHIFT)
-
#define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn)
#define node_end_pfn(nid) \
({ \
#define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn)
#define node_end_pfn(nid) \
({ \