Skip to content
Commit d6551e88 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[ARM] Add thread_notify infrastructure



Some machine classes need to allow VFP support to be built into the
kernel, but still allow the kernel to run even though VFP isn't
present.  Unfortunately, the kernel hard-codes VFP instructions
into the thread switch, which prevents this being run-time selectable.

Solve this by introducing a notifier which things such as VFP can
hook into to be informed of events which affect the VFP subsystem
(eg, creation and destruction of threads, switches between threads.)

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 52ab3f3d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment