> > arch/powerpc/xmon/setjmp.S | 135 > > ------------------------------------------
<snip> > > +#ifdef CONFIG_XMON > > +/* > > + * Grab the register values as they are now. > > + * This won't do a particularily good job because we really > > + * want our caller's caller's registers, and our caller has > > + * already executed its prologue. > > + * ToDo: We could reach back into the caller's save area to do > > + * a better job of representing the caller's state (note that > > + * that will be different for 32-bit and 64-bit, because of the > > + * different ABIs, though). > > + */ > > +_GLOBAL(xmon_save_regs) > > + PPC_STL r0,0*SZL(r3) > > + PPC_STL r2,2*SZL(r3) > > + PPC_STL r3,3*SZL(r3) > > + PPC_STL r4,4*SZL(r3) > > Does xmon_save_regs belong here? This was the only function left in xmon/setjmp.S. So rather than rename the whole file to reflect it no longer has anything to do with setjmp, I moved it out to misc.S I'm not fussed what we end up doing. Mikey _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev