On Sun, Apr 11, 2010 at 11:06:09PM -0700, David VomLehn wrote: > o A save_ptregs() function for the processor. I've taken a whack at > doing this for all of the processors. I have tested x86 and MIPS > versions. I was able to find cross compilers for ARM, ... and the > code compiles cleanly. Everything else, well, what you see is sheer > fantasy. You are welcome to chortle with merriment. Perhaps I'm missing something obvious, but is there some reason why you can't just reuse the crash_setup_regs() code? MIPS doesn't implement it presumably because it's lacking kexec crash kernel support, but it would make sense to make current ptregs saving more generic if there are going to be multiple users for it. -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html