Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161722
b: refs/heads/master
c: 8dcd038
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Benjamin Herrenschmidt committed Aug 20, 2009
1 parent 6798ca8 commit 4531b26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: b6c316a1f6447d6dd0fd8d443b66643e328e04fa
refs/heads/master: 8dcd038a13b8e322c49fe0d3e31a0deaba4fd5fd
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/mm/fsl_booke_mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ unsigned long __init mmu_mapin_ram(void)
unsigned long virt = PAGE_OFFSET;
phys_addr_t phys = memstart_addr;

while (cam[tlbcam_index] && tlbcam_index < ARRAY_SIZE(cam)) {
while (tlbcam_index < ARRAY_SIZE(cam) && cam[tlbcam_index]) {
settlbcam(tlbcam_index, virt, phys, cam[tlbcam_index], PAGE_KERNEL_X, 0);
virt += cam[tlbcam_index];
phys += cam[tlbcam_index];
Expand Down

0 comments on commit 4531b26

Please sign in to comment.