]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
kernel/smp: Tell the user we're bringing up secondary CPUs
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 26 Oct 2016 05:37:55 +0000 (16:37 +1100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 26 Oct 2016 10:02:35 +0000 (12:02 +0200)
commit51111dce2509506d16efd321939895ff7ffe1dc2
treec878364c670acfa7bae2e488f2a29e044987d159
parent92b23278298304f72bbc786a737f2646f4b9aa9d
kernel/smp: Tell the user we're bringing up secondary CPUs

Currently we don't print anything before starting to bring up secondary
CPUs. This can be confusing if it takes a long time to bring up the
secondaries, or if the kernel crashes while doing so and produces no
further output.

On x86 they work around this by detecting when the first secondary CPU
comes up and printing a message (see announce_cpu()). But doing it in
smp_init() is simpler and works for all arches.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Borislav Petkov <bp@suse.de>
Cc: akpm@osdl.org
Cc: jgross@suse.com
Cc: ak@linux.intel.com
Cc: tim.c.chen@linux.intel.com
Cc: len.brown@intel.com
Cc: peterz@infradead.org
Cc: richard@nod.at
Cc: jolsa@redhat.com
Cc: boris.ostrovsky@oracle.com
Cc: mgorman@techsingularity.net
Link: http://lkml.kernel.org/r/1477460275-8266-3-git-send-email-mpe@ellerman.id.au
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/smp.c