WSL2-Linux-Kernel/arch/metag/kernel
Thomas Gleixner dcd2e4734b metag: Adjust system_state check
To enable smp_processor_id() and might_sleep() debug checks earlier, it's
required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING.

Adjust the system_state check in stop_this_cpu() to handle the extra states.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20170516184735.283420315@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-05-23 10:01:35 +02:00
..
perf cpu/hotplug: Cleanup state names 2016-12-25 10:47:44 +01:00
.gitignore
Makefile
asm-offsets.c
cachepart.c
clock.c
core_reg.c
da.c
devtree.c
dma.c treewide: Constify most dma_map_ops structures 2017-01-24 12:23:35 -05:00
ftrace.c
ftrace_stub.S
head.S
irq.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
kick.c
machines.c
metag_ksyms.c
module.c
perf_callchain.c
process.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/task_stack.h> 2017-03-02 08:42:36 +01:00
ptrace.c Merge branch 'regset' (PTRACE_SETREGSET data leakage) 2017-03-29 08:55:25 -07:00
setup.c
signal.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/task_stack.h> 2017-03-02 08:42:36 +01:00
smp.c metag: Adjust system_state check 2017-05-23 10:01:35 +02:00
stacktrace.c linux/kernel.h: Add ALIGN_DOWN macro 2017-04-21 20:30:44 +08:00
sys_metag.c
tbiunexp.S
tcm.c
time.c
topology.c
traps.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/task_stack.h> 2017-03-02 08:42:36 +01:00
user_gateway.S
vmlinux.lds.S nmi_backtrace: generate one-line reports for idle cpus 2016-10-07 18:46:30 -07:00