diff options
| author | Jason Baron <jbaron@redhat.com> | 2004-11-07 04:06:32 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-07 04:06:32 -0800 |
| commit | 4b44897435a4e907b87cb14501c04d593f2323d8 (patch) | |
| tree | 346ebb87fc0a57fd0a722124c6122dc55e2fb3a0 /kernel | |
| parent | 1eccda347986a26bb4dd65c8dfee03da71de3fa8 (diff) | |
[PATCH] fix alt-sysrq deadlock
The sysrq code is taking a spinlock from both interrupt and process context
in an unsafe and deadlocky manner.
Move all those inlined functions out of sysrq.h, into sysrq.c then withdraw
all those exported-to-modules helper functions then remove
__sysrq_trylock_table() altogether and then use spin_lock_irqsave() in the
appropriate places.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
