diff options
author | Keith Owens <kaos@sgi.com> | 2006-01-06 00:36:06 +0100 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-01-13 23:22:35 +0100 |
commit | e026cca0f2c09c4c28c902db6384fd8a412671d6 (patch) | |
tree | 56c7803066b2ec1833ae669f909513f3b3483d60 /arch/ia64/kernel/jprobes.S | |
parent | [IA64] Handle debug traps in fsys mode (diff) | |
download | linux-e026cca0f2c09c4c28c902db6384fd8a412671d6.tar.xz linux-e026cca0f2c09c4c28c902db6384fd8a412671d6.zip |
[IA64] Add hotplug cpu to salinfo.c, replace semaphore with mutex
Add hotplug cpu support to salinfo.c.
The cpu_event field is a cpumask so use the cpu_* macros consistently,
replacing the existing mixture of cpu_* and *_bit macros.
Instead of counting the number of outstanding events in a semaphore and
trying to track that count over user space context, interrupt context,
non-maskable interrupt context and cpu hotplug, replace the semaphore
with a test for "any bits set" combined with a mutex.
Modify the locking to make the test for "work to do" an atomic
operation.
Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/jprobes.S')
0 files changed, 0 insertions, 0 deletions