diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-18 05:48:30 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-18 05:48:30 -0500 |
commit | b9974dc6bddd41fbdc2583f196a34fbcebd8b089 (patch) | |
tree | 1a53efb9732453020b9157d17b2850df436235d9 /arch | |
parent | d733e00d7c10cc68333fbb88108bb15bb044f61b (diff) | |
parent | 55dac3a5553b13891f0ae4bbd11920619b5436d4 (diff) |
Merge branch 'linus' into cpus4096
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/misc_32.S | 4 | ||||
-rw-r--r-- | arch/powerpc/lib/rheap.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/misc_32.S b/arch/powerpc/kernel/misc_32.S index d108715129e2..5c33bc14bd9f 100644 --- a/arch/powerpc/kernel/misc_32.S +++ b/arch/powerpc/kernel/misc_32.S | |||
@@ -486,13 +486,13 @@ _GLOBAL(_tlbil_va) | |||
486 | tlbsx 0,r3 | 486 | tlbsx 0,r3 |
487 | mfspr r4,SPRN_MAS1 /* check valid */ | 487 | mfspr r4,SPRN_MAS1 /* check valid */ |
488 | andis. r3,r4,MAS1_VALID@h | 488 | andis. r3,r4,MAS1_VALID@h |
489 | beqlr | 489 | beq 1f |
490 | rlwinm r4,r4,0,1,31 | 490 | rlwinm r4,r4,0,1,31 |
491 | mtspr SPRN_MAS1,r4 | 491 | mtspr SPRN_MAS1,r4 |
492 | tlbwe | 492 | tlbwe |
493 | msync | 493 | msync |
494 | isync | 494 | isync |
495 | wrtee r10 | 495 | 1: wrtee r10 |
496 | blr | 496 | blr |
497 | #endif /* CONFIG_FSL_BOOKE */ | 497 | #endif /* CONFIG_FSL_BOOKE */ |
498 | 498 | ||
diff --git a/arch/powerpc/lib/rheap.c b/arch/powerpc/lib/rheap.c index 29b2941cada0..45907c1dae66 100644 --- a/arch/powerpc/lib/rheap.c +++ b/arch/powerpc/lib/rheap.c | |||
@@ -556,6 +556,7 @@ unsigned long rh_alloc_fixed(rh_info_t * info, unsigned long start, int size, co | |||
556 | be = blk->start + blk->size; | 556 | be = blk->start + blk->size; |
557 | if (s >= bs && e <= be) | 557 | if (s >= bs && e <= be) |
558 | break; | 558 | break; |
559 | blk = NULL; | ||
559 | } | 560 | } |
560 | 561 | ||
561 | if (blk == NULL) | 562 | if (blk == NULL) |