Loading arch/s390/kernel/idle.c +3 −1 Original line number Original line Diff line number Diff line Loading @@ -14,6 +14,7 @@ #include <linux/init.h> #include <linux/init.h> #include <linux/cpu.h> #include <linux/cpu.h> #include <linux/sched/cputime.h> #include <linux/sched/cputime.h> #include <trace/events/power.h> #include <asm/nmi.h> #include <asm/nmi.h> #include <asm/smp.h> #include <asm/smp.h> #include "entry.h" #include "entry.h" Loading @@ -32,11 +33,12 @@ void enabled_wait(void) PSW_MASK_IO | PSW_MASK_EXT | PSW_MASK_MCHECK; PSW_MASK_IO | PSW_MASK_EXT | PSW_MASK_MCHECK; clear_cpu_flag(CIF_NOHZ_DELAY); clear_cpu_flag(CIF_NOHZ_DELAY); trace_cpu_idle_rcuidle(1, smp_processor_id()); local_irq_save(flags); local_irq_save(flags); /* Call the assembler magic in entry.S */ /* Call the assembler magic in entry.S */ psw_idle(idle, psw_mask); psw_idle(idle, psw_mask); local_irq_restore(flags); local_irq_restore(flags); trace_cpu_idle_rcuidle(PWR_EVENT_EXIT, smp_processor_id()); /* Account time spent with enabled wait psw loaded as idle time. */ /* Account time spent with enabled wait psw loaded as idle time. */ write_seqcount_begin(&idle->seqcount); write_seqcount_begin(&idle->seqcount); Loading Loading
arch/s390/kernel/idle.c +3 −1 Original line number Original line Diff line number Diff line Loading @@ -14,6 +14,7 @@ #include <linux/init.h> #include <linux/init.h> #include <linux/cpu.h> #include <linux/cpu.h> #include <linux/sched/cputime.h> #include <linux/sched/cputime.h> #include <trace/events/power.h> #include <asm/nmi.h> #include <asm/nmi.h> #include <asm/smp.h> #include <asm/smp.h> #include "entry.h" #include "entry.h" Loading @@ -32,11 +33,12 @@ void enabled_wait(void) PSW_MASK_IO | PSW_MASK_EXT | PSW_MASK_MCHECK; PSW_MASK_IO | PSW_MASK_EXT | PSW_MASK_MCHECK; clear_cpu_flag(CIF_NOHZ_DELAY); clear_cpu_flag(CIF_NOHZ_DELAY); trace_cpu_idle_rcuidle(1, smp_processor_id()); local_irq_save(flags); local_irq_save(flags); /* Call the assembler magic in entry.S */ /* Call the assembler magic in entry.S */ psw_idle(idle, psw_mask); psw_idle(idle, psw_mask); local_irq_restore(flags); local_irq_restore(flags); trace_cpu_idle_rcuidle(PWR_EVENT_EXIT, smp_processor_id()); /* Account time spent with enabled wait psw loaded as idle time. */ /* Account time spent with enabled wait psw loaded as idle time. */ write_seqcount_begin(&idle->seqcount); write_seqcount_begin(&idle->seqcount); Loading