]> Git Repo - linux.git/commit - arch/x86/kernel/smpboot.c
x86/smp: Adjust system_state check
authorThomas Gleixner <[email protected]>
Tue, 16 May 2017 18:42:35 +0000 (20:42 +0200)
committerIngo Molnar <[email protected]>
Tue, 23 May 2017 08:01:35 +0000 (10:01 +0200)
commit719b3680d1f789c1e3054e3fcb26bfff07c3c623
tree35db2fca8c925462fa13fc720c890071c97cdea5
parentef284f5ca5f102bf855e599305c0c16d6e844635
x86/smp: 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 announce_cpu() to handle the extra states.

Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Steven Rostedt (VMware) <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/smpboot.c
This page took 0.059198 seconds and 4 git commands to generate.