projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] x86-64: reduce x86-64 bug frame by 4 bytes
[powerpc.git]
/
include
/
asm-x86_64
/
mmzone.h
diff --git
a/include/asm-x86_64/mmzone.h
b/include/asm-x86_64/mmzone.h
index
7684137
..
b40c661
100644
(file)
--- a/
include/asm-x86_64/mmzone.h
+++ b/
include/asm-x86_64/mmzone.h
@@
-12,7
+12,7
@@
#include <asm/smp.h>
#include <asm/smp.h>
-#define NODEMAPSIZE 0xff
+#define NODEMAPSIZE 0xff
f
/* Simple perfect hash to map physical addresses to node numbers */
extern int memnode_shift;
/* Simple perfect hash to map physical addresses to node numbers */
extern int memnode_shift;
@@
-54,7
+54,7
@@
static inline __attribute__((pure)) int phys_to_nid(unsigned long addr)
#define pfn_valid(pfn) ((pfn) >= num_physpages ? 0 : \
({ u8 nid__ = pfn_to_nid(pfn); \
#define pfn_valid(pfn) ((pfn) >= num_physpages ? 0 : \
({ u8 nid__ = pfn_to_nid(pfn); \
- nid__ != 0xff && (pfn) >= node_start_pfn(nid__) && (pfn) <
=
node_end_pfn(nid__); }))
+ nid__ != 0xff && (pfn) >= node_start_pfn(nid__) && (pfn) < node_end_pfn(nid__); }))
#endif
#define local_mapnr(kvaddr) \
#endif
#define local_mapnr(kvaddr) \