Loading arch/arm/kernel/reboot.c +1 −3 Original line number Diff line number Diff line Loading @@ -116,9 +116,7 @@ void machine_power_off(void) { local_irq_disable(); smp_send_stop(); if (pm_power_off) pm_power_off(); do_kernel_power_off(); } /* Loading arch/arm64/kernel/process.c +1 −2 Original line number Diff line number Diff line Loading @@ -111,8 +111,7 @@ void machine_power_off(void) { local_irq_disable(); smp_send_stop(); if (pm_power_off) pm_power_off(); do_kernel_power_off(); } /* Loading arch/csky/kernel/power.c +2 −4 Original line number Diff line number Diff line Loading @@ -9,16 +9,14 @@ EXPORT_SYMBOL(pm_power_off); void machine_power_off(void) { local_irq_disable(); if (pm_power_off) pm_power_off(); do_kernel_power_off(); asm volatile ("bkpt"); } void machine_halt(void) { local_irq_disable(); if (pm_power_off) pm_power_off(); do_kernel_power_off(); asm volatile ("bkpt"); } Loading arch/ia64/kernel/process.c +2 −2 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ #include <linux/module.h> #include <linux/notifier.h> #include <linux/personality.h> #include <linux/reboot.h> #include <linux/sched.h> #include <linux/sched/debug.h> #include <linux/sched/hotplug.h> Loading Loading @@ -599,8 +600,7 @@ machine_halt (void) void machine_power_off (void) { if (pm_power_off) pm_power_off(); do_kernel_power_off(); machine_halt(); } Loading arch/m68k/emu/natfeat.c +2 −1 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ #include <linux/string.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/reboot.h> #include <linux/io.h> #include <asm/machdep.h> #include <asm/natfeat.h> Loading Loading @@ -90,5 +91,5 @@ void __init nf_init(void) pr_info("NatFeats found (%s, %lu.%lu)\n", buf, version >> 16, version & 0xffff); mach_power_off = nf_poweroff; register_platform_power_off(nf_poweroff); } Loading
arch/arm/kernel/reboot.c +1 −3 Original line number Diff line number Diff line Loading @@ -116,9 +116,7 @@ void machine_power_off(void) { local_irq_disable(); smp_send_stop(); if (pm_power_off) pm_power_off(); do_kernel_power_off(); } /* Loading
arch/arm64/kernel/process.c +1 −2 Original line number Diff line number Diff line Loading @@ -111,8 +111,7 @@ void machine_power_off(void) { local_irq_disable(); smp_send_stop(); if (pm_power_off) pm_power_off(); do_kernel_power_off(); } /* Loading
arch/csky/kernel/power.c +2 −4 Original line number Diff line number Diff line Loading @@ -9,16 +9,14 @@ EXPORT_SYMBOL(pm_power_off); void machine_power_off(void) { local_irq_disable(); if (pm_power_off) pm_power_off(); do_kernel_power_off(); asm volatile ("bkpt"); } void machine_halt(void) { local_irq_disable(); if (pm_power_off) pm_power_off(); do_kernel_power_off(); asm volatile ("bkpt"); } Loading
arch/ia64/kernel/process.c +2 −2 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ #include <linux/module.h> #include <linux/notifier.h> #include <linux/personality.h> #include <linux/reboot.h> #include <linux/sched.h> #include <linux/sched/debug.h> #include <linux/sched/hotplug.h> Loading Loading @@ -599,8 +600,7 @@ machine_halt (void) void machine_power_off (void) { if (pm_power_off) pm_power_off(); do_kernel_power_off(); machine_halt(); } Loading
arch/m68k/emu/natfeat.c +2 −1 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ #include <linux/string.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/reboot.h> #include <linux/io.h> #include <asm/machdep.h> #include <asm/natfeat.h> Loading Loading @@ -90,5 +91,5 @@ void __init nf_init(void) pr_info("NatFeats found (%s, %lu.%lu)\n", buf, version >> 16, version & 0xffff); mach_power_off = nf_poweroff; register_platform_power_off(nf_poweroff); }