Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196592
b: refs/heads/master
c: 4afb0be
h: refs/heads/master
v: v3
  • Loading branch information
Joakim Tjernlund authored and Benjamin Herrenschmidt committed Apr 7, 2010
1 parent b98ab9e commit 7801071
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe1691e3f49d41452832f5aee2b952bd201ccab1
refs/heads/master: 4afb0be7ccda0ca551cc37572bab74ba4a3c18dd
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/kernel/head_8xx.S
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,16 @@ InstructionTLBMiss:
/* If we are faulting a kernel address, we have to use the
* kernel page tables.
*/
#ifdef CONFIG_MODULES
/* Only modules will cause ITLB Misses as we always
* pin the first 8MB of kernel memory */
andi. r11, r10, 0x0800 /* Address >= 0x80000000 */
beq 3f
lis r11, swapper_pg_dir@h
ori r11, r11, swapper_pg_dir@l
rlwimi r10, r11, 0, 2, 19
3:
#endif
lwz r11, 0(r10) /* Get the level 1 entry */
rlwinm. r10, r11,0,0,19 /* Extract page descriptor page address */
beq 2f /* If zero, don't try to find a pte */
Expand Down

0 comments on commit 7801071

Please sign in to comment.