diff options
Diffstat (limited to 'arch/powerpc/kernel/head_40x.S')
-rw-r--r-- | arch/powerpc/kernel/head_40x.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/head_40x.S b/arch/powerpc/kernel/head_40x.S index e312824bdd98..cfefc2df8f2a 100644 --- a/arch/powerpc/kernel/head_40x.S +++ b/arch/powerpc/kernel/head_40x.S | |||
@@ -289,7 +289,7 @@ label: | |||
289 | /* If we are faulting a kernel address, we have to use the | 289 | /* If we are faulting a kernel address, we have to use the |
290 | * kernel page tables. | 290 | * kernel page tables. |
291 | */ | 291 | */ |
292 | lis r11, TASK_SIZE@h | 292 | lis r11, PAGE_OFFSET@h |
293 | cmplw r10, r11 | 293 | cmplw r10, r11 |
294 | blt+ 3f | 294 | blt+ 3f |
295 | lis r11, swapper_pg_dir@h | 295 | lis r11, swapper_pg_dir@h |
@@ -481,7 +481,7 @@ label: | |||
481 | /* If we are faulting a kernel address, we have to use the | 481 | /* If we are faulting a kernel address, we have to use the |
482 | * kernel page tables. | 482 | * kernel page tables. |
483 | */ | 483 | */ |
484 | lis r11, TASK_SIZE@h | 484 | lis r11, PAGE_OFFSET@h |
485 | cmplw r10, r11 | 485 | cmplw r10, r11 |
486 | blt+ 3f | 486 | blt+ 3f |
487 | lis r11, swapper_pg_dir@h | 487 | lis r11, swapper_pg_dir@h |
@@ -581,7 +581,7 @@ label: | |||
581 | /* If we are faulting a kernel address, we have to use the | 581 | /* If we are faulting a kernel address, we have to use the |
582 | * kernel page tables. | 582 | * kernel page tables. |
583 | */ | 583 | */ |
584 | lis r11, TASK_SIZE@h | 584 | lis r11, PAGE_OFFSET@h |
585 | cmplw r10, r11 | 585 | cmplw r10, r11 |
586 | blt+ 3f | 586 | blt+ 3f |
587 | lis r11, swapper_pg_dir@h | 587 | lis r11, swapper_pg_dir@h |