arm64: debug: convert OS lock CPU hotplug notifier to new infrastructure
authorWill Deacon <will.deacon@arm.com>
Tue, 16 Aug 2016 10:29:17 +0000 (11:29 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 1 Sep 2016 12:45:58 +0000 (13:45 +0100)
commite937dd5782688928d8c4050237b93b0a51faebee
tree51fcb617301f1d83808974c78df6cb6e6e1a5c67
parentd7a83d127a64fd91ef1ad39b7e2d78db36cf388b
arm64: debug: convert OS lock CPU hotplug notifier to new infrastructure

The arm64 debug monitor initialisation code uses a CPU hotplug notifier
to clear the OS lock when CPUs come online.

This patch converts the code to the new hotplug mechanism.

Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/debug-monitors.c
include/linux/cpuhotplug.h