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 metag: Fix typos 2016-07-15 09:55:49 +01:00
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 metag: ftrace: remove the misleading comment for ftrace_dyn_arch_init 2016-04-29 22:37:51 +01:00
ftrace_stub.S metag: ftrace: Remove check of obsolete variable function_trace_stop 2014-07-18 13:58:09 -04:00
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 module: use a structure to encapsulate layout. 2015-12-04 22:46:25 +01:00
perf_callchain.c perf core: Add a 'nr' field to perf_event_callchain_context 2016-05-16 23:11:51 -03:00
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 metag: Remove unnecessary of_platform_populate with default match table 2016-06-23 15:00:26 -05:00
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 metag: topology: export 'cpu_core_map' 2013-12-19 11:36:13 +00:00
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