On Wed, 2009-07-08 at 08:59 +0200, Alexander Graf wrote: > > Can't you define a C structure and generate offsets in asm-offsets.h > > using asm-offsets.c like we do for most other stuff ? > > Oh looking at asm-offsets.c you already do define a pt_regs > structure > on stack. I guess I could reuse that. > Yes. Beware that it also includes STACK_FRAME_OVERHEAD so you need to take that into account.
Cheers, Ben. -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html