Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190400
b: refs/heads/master
c: e813734
h: refs/heads/master
v: v3
  • Loading branch information
Becky Bruce authored and Kumar Gala committed Apr 20, 2010
1 parent 4a28363 commit 05a5c0d
Show file tree
Hide file tree
Showing 2 changed files with 3 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: e0f278adc29e8986531a51e5ed33db42e34bf952
refs/heads/master: e8137341b1bb9bbdc29d9fd8980485ec7dcb4109
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/mm/fsl_booke_mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void loadcam_entry(int idx)
mtspr(SPRN_MAS2, TLBCAM[idx].MAS2);
mtspr(SPRN_MAS3, TLBCAM[idx].MAS3);

if (cur_cpu_spec->cpu_features & MMU_FTR_BIG_PHYS)
if (mmu_has_feature(MMU_FTR_BIG_PHYS))
mtspr(SPRN_MAS7, TLBCAM[idx].MAS7);

asm volatile("isync;tlbwe;isync" : : : "memory");
Expand Down Expand Up @@ -152,7 +152,7 @@ static void settlbcam(int index, unsigned long virt, phys_addr_t phys,

TLBCAM[index].MAS3 = (phys & MAS3_RPN) | MAS3_SX | MAS3_SR;
TLBCAM[index].MAS3 |= ((flags & _PAGE_RW) ? MAS3_SW : 0);
if (cur_cpu_spec->cpu_features & MMU_FTR_BIG_PHYS)
if (mmu_has_feature(MMU_FTR_BIG_PHYS))
TLBCAM[index].MAS7 = (u64)phys >> 32;

#ifndef CONFIG_KGDB /* want user access for breakpoints */
Expand Down

0 comments on commit 05a5c0d

Please sign in to comment.