Vivek Goyal wrote:
I think, we can remove crash_save_self() and call crash_save_this_cpu() directly from machine_crash_shutdown().o +static void crash_save_self(struct pt_regs *regs) +{ + int cpu; + + cpu = smp_processor_id(); + crash_save_this_cpu(regs, cpu); +} +
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 0/10] Kdump Update i386/x86_64
- From: Vivek Goyal <[email protected]>
- [PATCH 1/10] kdump: i386 save ss esp bug fix
- From: Vivek Goyal <[email protected]>
- [PATCH 2/10] kdump: dynamic per cpu allocation of memory for saving cpu registers
- From: Vivek Goyal <[email protected]>
- [PATCH 3/10] kdump: export per cpu crash notes pointer through sysfs
- From: Vivek Goyal <[email protected]>
- [PATCH 4/10] kdump: save registers early (inline functions)
- From: Vivek Goyal <[email protected]>
- [PATCH 5/10] kdump: x86_64 add memmmap command line option
- From: Vivek Goyal <[email protected]>
- [PATCH 6/10] kdump: x86_64 add elfcorehdr command line option
- From: Vivek Goyal <[email protected]>
- [PATCH 7/10] kdump: x86_64 kexec on panic
- From: Vivek Goyal <[email protected]>
- [PATCH 8/10] kdump: x86_64 save cpu registers upon crash
- From: Vivek Goyal <[email protected]>
- [PATCH 0/10] Kdump Update i386/x86_64
- Prev by Date: Re: [DEBUG INFO]IPv6: sleeping function called from invalid context.
- Next by Date: [PATCH 4/4] SwapMig: Extend parameters for migrate_pages()
- Previous by thread: Re: [Fastboot] Re: [PATCH 9/10] kdump: read previous kernel's memory
- Next by thread: Re: [PATCH 8/10] kdump: x86_64 save cpu registers upon crash
- Index(es):