ARM: VFP: re-initialize VFP coprocessor access enables on CPU hotplug
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 18 Dec 2010 10:59:49 +0000 (10:59 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 20 Dec 2010 15:09:13 +0000 (15:09 +0000)
commit90b44199e83ec780d6def11a602d825dc68438e3
tree82e09f5b197b1fe759c122085e6e4e6c59e4c969
parent3705ff6da538aff6dba535e2e9cbcbb9456d0d53
ARM: VFP: re-initialize VFP coprocessor access enables on CPU hotplug

We can not guarantee that VFP will be enabled when CPU hotplug brings
a CPU back online from a reset state.  Add a hotplug CPU notifier to
ensure that the VFP coprocessor access is enabled whenever a CPU comes
back online.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/vfp/vfpmodule.c