diff options
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/kernel/entry.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/parisc/kernel/entry.S b/arch/parisc/kernel/entry.S index 0db9fdcb7709..0f7ff938b06a 100644 --- a/arch/parisc/kernel/entry.S +++ b/arch/parisc/kernel/entry.S | |||
@@ -563,8 +563,8 @@ | |||
563 | 563 | ||
564 | /* Get rid of prot bits and convert to page addr for iitlba */ | 564 | /* Get rid of prot bits and convert to page addr for iitlba */ |
565 | 565 | ||
566 | depi _PAGE_SIZE_ENCODING_DEFAULT,31,ASM_PFN_PTE_SHIFT,\pte | 566 | depi 0,31,ASM_PFN_PTE_SHIFT,\pte |
567 | extru \pte,24,25,\pte | 567 | SHRREG \pte,(ASM_PFN_PTE_SHIFT-(31-26)),\pte |
568 | .endm | 568 | .endm |
569 | 569 | ||
570 | /* This is for ILP32 PA2.0 only. The TLB insertion needs | 570 | /* This is for ILP32 PA2.0 only. The TLB insertion needs |
@@ -1337,8 +1337,8 @@ nadtlb_check_flush_11: | |||
1337 | 1337 | ||
1338 | /* Get rid of prot bits and convert to page addr for idtlba */ | 1338 | /* Get rid of prot bits and convert to page addr for idtlba */ |
1339 | 1339 | ||
1340 | depi 0,31,12,pte | 1340 | depi 0,31,ASM_PFN_PTE_SHIFT,pte |
1341 | extru pte,24,25,pte | 1341 | SHRREG pte,(ASM_PFN_PTE_SHIFT-(31-26)),pte |
1342 | 1342 | ||
1343 | mfsp %sr1,t0 /* Save sr1 so we can use it in tlb inserts */ | 1343 | mfsp %sr1,t0 /* Save sr1 so we can use it in tlb inserts */ |
1344 | mtsp spc,%sr1 | 1344 | mtsp spc,%sr1 |