original_kernel/drivers/misc/ibmasm
Max Asbock 8818760512 [PATCH] ibmasm driver: fix race in command refcount logic
This patch fixes a race in the command reference counting logic by putting
spinlocks around kobject_put() in the command_put function.

- Also added debug messages.

- Changed a memcpy to memcpy_fromio since we are reading from io space.

Signed-off-by: Max Asbock <masbock@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-21 19:07:35 -07:00
..
Makefile
command.c [PATCH] ibmasm driver: fix race in command refcount logic 2005-06-21 19:07:35 -07:00
dot_command.c [PATCH] ibmasm driver: fix race in command refcount logic 2005-06-21 19:07:35 -07:00
dot_command.h
event.c
heartbeat.c [PATCH] ibmasm driver: fix race in command refcount logic 2005-06-21 19:07:35 -07:00
i2o.h
ibmasm.h [PATCH] ibmasm driver: fix race in command refcount logic 2005-06-21 19:07:35 -07:00
ibmasmfs.c [PATCH] ibmasm driver: fix race in command refcount logic 2005-06-21 19:07:35 -07:00
lowlevel.c [PATCH] ibmasm driver: redesign handling of remote control events 2005-06-21 19:07:35 -07:00
lowlevel.h
module.c [PATCH] ibmasm driver: redesign handling of remote control events 2005-06-21 19:07:35 -07:00
r_heartbeat.c [PATCH] ibmasm driver: fix race in command refcount logic 2005-06-21 19:07:35 -07:00
remote.c [PATCH] ibmasm driver: redesign handling of remote control events 2005-06-21 19:07:35 -07:00
remote.h [PATCH] ibmasm driver: redesign handling of remote control events 2005-06-21 19:07:35 -07:00
uart.c