From 5c60673193e0e75df6271e1eb73d5106a9a7803b Mon Sep 17 00:00:00 2001 From: Jim Paradis Date: Mon, 12 Sep 2005 18:49:24 +0200 Subject: [PATCH] --- yaml --- r: 8611 b: refs/heads/master c: fb048927ad93420b6dd2eddcdde71ea7b6ff95e4 h: refs/heads/master i: 8609: 4bcb4783e8e3628161f007fa624e6f65b08dee0e 8607: f99f919187aea31b15df00bf8e5413ab0dbe0a19 v: v3 --- [refs] | 2 +- trunk/include/asm-x86_64/mmzone.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 891311757138..dc724c01958f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6e44f12ba64a58f25f8e6f35aa4c175f613001be +refs/heads/master: fb048927ad93420b6dd2eddcdde71ea7b6ff95e4 diff --git a/trunk/include/asm-x86_64/mmzone.h b/trunk/include/asm-x86_64/mmzone.h index 768413751b34..2ef43dac6c28 100644 --- a/trunk/include/asm-x86_64/mmzone.h +++ b/trunk/include/asm-x86_64/mmzone.h @@ -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); \ - 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) \