git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[S390] Remove open-coded mem_map usage.
[sfrench/cifs-2.6.git]
/
include
/
asm-x86_64
/
mmzone.h
diff --git
a/include/asm-x86_64/mmzone.h
b/include/asm-x86_64/mmzone.h
index 70bb9969766e2f11df1ca81e5c1ad6168c05bff8..c38ebdf6f426ad41ddfc19fc8df42553eae4b5a6 100644
(file)
--- a/
include/asm-x86_64/mmzone.h
+++ b/
include/asm-x86_64/mmzone.h
@@
-42,7
+42,6
@@
static inline __attribute__((pure)) int phys_to_nid(unsigned long addr)
#ifdef CONFIG_DISCONTIGMEM
#define pfn_to_nid(pfn) phys_to_nid((unsigned long)(pfn) << PAGE_SHIFT)
-#define kvaddr_to_nid(kaddr) phys_to_nid(__pa(kaddr))
extern int pfn_valid(unsigned long pfn);
#endif