diff options
author | Richard Cochran <rcochran@linutronix.de> | 2016-07-13 17:16:52 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-07-15 10:40:28 +0200 |
commit | 4761adb6f49048cddd65553a71ea2354b2a838be (patch) | |
tree | 7ef757ce468242ac2a814f619ae63d713723de4e /arch/mips/oprofile | |
parent | 26b8768868c090151aa8c337773d429e0d5ca727 (diff) | |
download | op-kernel-dev-4761adb6f49048cddd65553a71ea2354b2a838be.zip op-kernel-dev-4761adb6f49048cddd65553a71ea2354b2a838be.tar.gz |
arm/xen: Convert to hotplug state machine
Install the callbacks via the state machine and let the core invoke
the callbacks on the already online CPUs.
The get_cpu() in xen_starting_cpu() boils down to preempt_disable() since
we already know the CPU we run on. Disabling preemption shouldn't be required
here from what I see since it we don't switch CPUs while invoking the function.
Signed-off-by: Richard Cochran <rcochran@linutronix.de>
Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: rt@linutronix.de
Cc: xen-devel@lists.xenproject.org
Link: http://lkml.kernel.org/r/20160713153336.971559670@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/mips/oprofile')
0 files changed, 0 insertions, 0 deletions