dcdbas: Make use of smp_call_on_cpu()
authorJuergen Gross <jgross@suse.com>
Mon, 29 Aug 2016 06:48:46 +0000 (08:48 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 5 Sep 2016 11:52:40 +0000 (13:52 +0200)
commite23f22b5cb9e44da24cb8494707536211adff8d1
tree0505cacb78b3e4fc4dbe6beff7af5f6f58de3fcb
parent99bc67536d04bcb9133546284acfb15d033b8bfe
dcdbas: Make use of smp_call_on_cpu()

Use smp_call_on_cpu() to raise SMI on CPU 0.
Make call secure by adding get_online_cpus() to avoid e.g. suspend
resume cycles in between.

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Douglas_Warzecha@dell.com
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: akataria@vmware.com
Cc: boris.ostrovsky@oracle.com
Cc: chrisw@sous-sol.org
Cc: david.vrabel@citrix.com
Cc: hpa@zytor.com
Cc: jdelvare@suse.com
Cc: jeremy@goop.org
Cc: linux@roeck-us.net
Cc: pali.rohar@gmail.com
Cc: rusty@rustcorp.com.au
Cc: virtualization@lists.linux-foundation.org
Cc: xen-devel@lists.xenproject.org
Link: http://lkml.kernel.org/r/1472453327-19050-6-git-send-email-jgross@suse.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/firmware/dcdbas.c