Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6617
b: refs/heads/master
c: 319e76a
h: refs/heads/master
i:
  6615: 1a9a736
v: v3
  • Loading branch information
David Gibson authored and Linus Torvalds committed Sep 1, 2005
1 parent 46b1071 commit 2101b32
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7eaa414ee86cda4c153002ed218b9a0ad17f7de1
refs/heads/master: 319e76a1ae835c34a2838c2bfebe3db4d5a6b387
22 changes: 9 additions & 13 deletions trunk/arch/ppc64/mm/slb_low.S
Original file line number Diff line number Diff line change
Expand Up @@ -97,25 +97,21 @@ BEGIN_FTR_SECTION
lhz r9,PACAHIGHHTLBAREAS(r13)
srdi r11,r3,(HTLB_AREA_SHIFT-SID_SHIFT)
srd r9,r9,r11
andi. r9,r9,1
bne 5f
lhz r11,PACALOWHTLBAREAS(r13)
srd r11,r11,r3
or r9,r9,r11
END_FTR_SECTION_IFSET(CPU_FTR_16M_PAGE)
#endif /* CONFIG_HUGETLB_PAGE */

li r11,SLB_VSID_USER

cmpldi r3,16
bge 6f

lhz r9,PACALOWHTLBAREAS(r13)
srd r9,r9,r3
andi. r9,r9,1

beq 6f

5: li r11,SLB_VSID_USER|SLB_VSID_L
#ifdef CONFIG_HUGETLB_PAGE
BEGIN_FTR_SECTION
rldimi r11,r9,8,55 /* shift masked bit into SLB_VSID_L */
END_FTR_SECTION_IFSET(CPU_FTR_16M_PAGE)
#endif /* CONFIG_HUGETLB_PAGE */

6: ld r9,PACACONTEXTID(r13)
ld r9,PACACONTEXTID(r13)
rldimi r3,r9,USER_ESID_BITS,0

9: /* r3 = protovsid, r11 = flags, r10 = esid_data, cr7 = <>KERNELBASE */
Expand Down

0 comments on commit 2101b32

Please sign in to comment.