__restore_processor_state() was spaghetti code, made no sense, and had bugs. And I broke resume on 32-bit systems. This series cleans it up and fixes it (hopefully!).
Andy Lutomirski (3): x86/power/64: Use struct desc_ptr for the IDT in struct saved_context x86/power/32: Move SYSENTER MSR restoration to fix_processor_context() x86/power: Make restore_processor_context() sane arch/x86/include/asm/suspend_32.h | 8 +++- arch/x86/include/asm/suspend_64.h | 19 ++++++-- arch/x86/power/cpu.c | 99 ++++++++++++++++++--------------------- 3 files changed, 67 insertions(+), 59 deletions(-) -- 2.13.6

