aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/mm/init_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/init_64.c')
-rw-r--r--arch/x86/mm/init_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index f54a4d97530..6116ff0d741 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -510,7 +510,7 @@ static int is_kernel(unsigned long pfn)
unsigned long pg_addresss = pfn << PAGE_SHIFT;
if (pg_addresss >= (unsigned long) __pa(_text) &&
- pg_addresss <= (unsigned long) __pa(_end))
+ pg_addresss < (unsigned long) __pa(_end))
return 1;
return 0;