Remove call to swap_palshadow that is no longer needed.
authorKevin Lim <ktlim@umich.edu>
Sun, 5 Mar 2006 05:13:32 +0000 (00:13 -0500)
committerKevin Lim <ktlim@umich.edu>
Sun, 5 Mar 2006 05:13:32 +0000 (00:13 -0500)
arch/alpha/faults.cc:
    Remove call to swap_palshadow.

--HG--
extra : convert_revision : 10282c11080379fc4e8a166ff35d18d728f0d5a4

arch/alpha/faults.cc

index 0a836363c07e9beaf640b144ff18692c92173b21..84f785c0ac6aadf49f77505545445d05ee679f15 100644 (file)
@@ -119,9 +119,6 @@ void AlphaFault::invoke(ExecContext * xc)
                    xc->readMiscReg(AlphaISA::IPR_EXC_ADDR) + 4);
     }
 
-    if (!xc->inPalMode())
-        AlphaISA::swap_palshadow(&(xc->regs), true);
-
     xc->regs.pc = xc->readMiscReg(AlphaISA::IPR_PAL_BASE) + vect();
     xc->regs.npc = xc->regs.pc + sizeof(MachInst);
 }