Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88121
b: refs/heads/master
c: b991f05
h: refs/heads/master
i:
  88119: 044100a
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Paul Mackerras committed Apr 3, 2008
1 parent 0b0f411 commit 606bbfb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: ff3da2e0938bae36d10d69c22bce0177b067a9e2
refs/heads/master: b991f05f1326fd9e6212851d0f2099875906dd16
8 changes: 6 additions & 2 deletions trunk/arch/powerpc/mm/hash_low_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ mmu_hash_lock:
#ifdef CONFIG_SMP
.text
_GLOBAL(hash_page_sync)
mfmsr r10
rlwinm r0,r10,0,17,15 /* clear bit 16 (MSR_EE) */
mtmsr r0
lis r8,mmu_hash_lock@h
ori r8,r8,mmu_hash_lock@l
lis r0,0x0fff
Expand All @@ -60,8 +63,9 @@ _GLOBAL(hash_page_sync)
eieio
li r0,0
stw r0,0(r8)
blr
#endif
mtmsr r10
blr
#endif /* CONFIG_SMP */

/*
* Load a PTE into the hash table, if possible.
Expand Down

0 comments on commit 606bbfb

Please sign in to comment.