diff options
Diffstat (limited to 'arch/powerpc/kernel/head_44x.S')
-rw-r--r-- | arch/powerpc/kernel/head_44x.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/head_44x.S b/arch/powerpc/kernel/head_44x.S index 864d63fbb204..409db6123924 100644 --- a/arch/powerpc/kernel/head_44x.S +++ b/arch/powerpc/kernel/head_44x.S | |||
@@ -319,7 +319,7 @@ interrupt_base: | |||
319 | /* If we are faulting a kernel address, we have to use the | 319 | /* If we are faulting a kernel address, we have to use the |
320 | * kernel page tables. | 320 | * kernel page tables. |
321 | */ | 321 | */ |
322 | lis r11, TASK_SIZE@h | 322 | lis r11, PAGE_OFFSET@h |
323 | cmplw r10, r11 | 323 | cmplw r10, r11 |
324 | blt+ 3f | 324 | blt+ 3f |
325 | lis r11, swapper_pg_dir@h | 325 | lis r11, swapper_pg_dir@h |
@@ -458,7 +458,7 @@ interrupt_base: | |||
458 | /* If we are faulting a kernel address, we have to use the | 458 | /* If we are faulting a kernel address, we have to use the |
459 | * kernel page tables. | 459 | * kernel page tables. |
460 | */ | 460 | */ |
461 | lis r11, TASK_SIZE@h | 461 | lis r11, PAGE_OFFSET@h |
462 | cmplw r10, r11 | 462 | cmplw r10, r11 |
463 | blt+ 3f | 463 | blt+ 3f |
464 | lis r11, swapper_pg_dir@h | 464 | lis r11, swapper_pg_dir@h |
@@ -528,7 +528,7 @@ interrupt_base: | |||
528 | /* If we are faulting a kernel address, we have to use the | 528 | /* If we are faulting a kernel address, we have to use the |
529 | * kernel page tables. | 529 | * kernel page tables. |
530 | */ | 530 | */ |
531 | lis r11, TASK_SIZE@h | 531 | lis r11, PAGE_OFFSET@h |
532 | cmplw r10, r11 | 532 | cmplw r10, r11 |
533 | blt+ 3f | 533 | blt+ 3f |
534 | lis r11, swapper_pg_dir@h | 534 | lis r11, swapper_pg_dir@h |