android_kernel_motorola_sm6225/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
..
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
event.c [PATCH] ibmasm driver: correctly wake up sleeping threads 2005-06-21 19:07:34 -07:00
heartbeat.c [PATCH] ibmasm driver: fix race in command refcount logic 2005-06-21 19:07:35 -07:00
i2o.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00