]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] Add thread_notify infrastructure
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 21 Jun 2006 12:31:52 +0000 (13:31 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 Jun 2006 09:24:18 +0000 (10:24 +0100)
commitd6551e884cf66de072b81f8b6d23259462c40baf
treefd8af193bd045e4b16ce911d392d7ffd109d7284
parent52ab3f3dc711eeccbfbcc5d4f5c5d9b9ff59650f
[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: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/entry-armv.S
arch/arm/kernel/iwmmxt.S
arch/arm/kernel/process.c
arch/arm/nwfpe/fpmodule.c
arch/arm/vfp/vfpmodule.c
include/asm-arm/thread_notify.h [new file with mode: 0644]