libcpu/powerpc/e500/mmu/mmu.c: Fix warnings

This commit is contained in:
Joel Sherrill
2014-10-15 14:22:02 -05:00
parent d4ab6611f3
commit 3cdc08c2dd

View File

@@ -199,7 +199,7 @@ int idx = key & ~E500_SELTLB_1;
int int
rtems_e500_prtlb(rtems_e500_tlb_idx key, int quiet, FILE *f) rtems_e500_prtlb(rtems_e500_tlb_idx key, int quiet, FILE *f)
{ {
uint32_t mas0, mas1, mas2, mas3; uint32_t mas1, mas2, mas3;
rtems_interrupt_level lvl; rtems_interrupt_level lvl;
E500_tlb_va_cache_t *tlb; E500_tlb_va_cache_t *tlb;
E500_tlb_va_cache_t buf; E500_tlb_va_cache_t buf;
@@ -217,7 +217,7 @@ int sel, idx;
asm volatile("tlbre"); asm volatile("tlbre");
mas0 = _read_MAS0(); /* not manipulating MAS0, skip reading it */
mas1 = _read_MAS1(); mas1 = _read_MAS1();
mas2 = _read_MAS2(); mas2 = _read_MAS2();
mas3 = _read_MAS3(); mas3 = _read_MAS3();