forked from Imagelibrary/rtems
libcpu/powerpc/e500/mmu/mmu.c: Fix warnings
This commit is contained in:
@@ -199,7 +199,7 @@ int idx = key & ~E500_SELTLB_1;
|
||||
int
|
||||
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;
|
||||
E500_tlb_va_cache_t *tlb;
|
||||
E500_tlb_va_cache_t buf;
|
||||
@@ -217,7 +217,7 @@ int sel, idx;
|
||||
|
||||
asm volatile("tlbre");
|
||||
|
||||
mas0 = _read_MAS0();
|
||||
/* not manipulating MAS0, skip reading it */
|
||||
mas1 = _read_MAS1();
|
||||
mas2 = _read_MAS2();
|
||||
mas3 = _read_MAS3();
|
||||
|
||||
Reference in New Issue
Block a user