diff options
Diffstat (limited to 'arch/x86/mm/init_64.c')
-rw-r--r-- | arch/x86/mm/init_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index f54a4d97530f..6116ff0d7416 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) | |||
510 | unsigned long pg_addresss = pfn << PAGE_SHIFT; | 510 | unsigned long pg_addresss = pfn << PAGE_SHIFT; |
511 | 511 | ||
512 | if (pg_addresss >= (unsigned long) __pa(_text) && | 512 | if (pg_addresss >= (unsigned long) __pa(_text) && |
513 | pg_addresss <= (unsigned long) __pa(_end)) | 513 | pg_addresss < (unsigned long) __pa(_end)) |
514 | return 1; | 514 | return 1; |
515 | 515 | ||
516 | return 0; | 516 | return 0; |