Merge remote branch 'origin/master' into staging

This commit is contained in:
Anthony Liguori 2010-07-16 08:01:16 -05:00
commit 08218b3527

View File

@ -3213,7 +3213,8 @@ static void setup_frame(int sig, struct target_sigaction *ka,
env->regs[1] = (unsigned long) frame; env->regs[1] = (unsigned long) frame;
/* Signal handler args: */ /* Signal handler args: */
env->regs[5] = sig; /* Arg 0: signum */ env->regs[5] = sig; /* Arg 0: signum */
env->regs[6] = (unsigned long) &frame->sc; /* arg 1: sigcontext */ env->regs[6] = 0;
env->regs[7] = (unsigned long) &frame->sc; /* arg 1: sigcontext */
/* Offset of 4 to handle microblaze rtid r14, 0 */ /* Offset of 4 to handle microblaze rtid r14, 0 */
env->sregs[SR_PC] = (unsigned long)ka->_sa_handler; env->sregs[SR_PC] = (unsigned long)ka->_sa_handler;