net_sched: use setup_deferrable_timer
[sfrench/cifs-2.6.git] / kernel / kexec_core.c
index 5617cc41244446f6b3065922bf0a0147c3b61394..bfe62d5b38722251681f7257788cd14533fe4362 100644 (file)
@@ -916,7 +916,7 @@ void crash_kexec(struct pt_regs *regs)
        old_cpu = atomic_cmpxchg(&panic_cpu, PANIC_CPU_INVALID, this_cpu);
        if (old_cpu == PANIC_CPU_INVALID) {
                /* This is the 1st CPU which comes here, so go ahead. */
-               printk_nmi_flush_on_panic();
+               printk_safe_flush_on_panic();
                __crash_kexec(regs);
 
                /*
@@ -1399,7 +1399,7 @@ void __weak arch_crash_save_vmcoreinfo(void)
 
 phys_addr_t __weak paddr_vmcoreinfo_note(void)
 {
-       return __pa((unsigned long)(char *)&vmcoreinfo_note);
+       return __pa_symbol((unsigned long)(char *)&vmcoreinfo_note);
 }
 
 static int __init crash_save_vmcoreinfo_init(void)