]> Git Repo - linux.git/commit - include/linux/kfifo.h
kfifo: move out spinlock
authorStefani Seibold <[email protected]>
Mon, 21 Dec 2009 22:37:27 +0000 (14:37 -0800)
committerLinus Torvalds <[email protected]>
Tue, 22 Dec 2009 22:17:56 +0000 (14:17 -0800)
commitc1e13f25674ed564948ecb7dfe5f83e578892896
tree24fac07b3e2b66dff01c3127b34077de1de4c101
parent45465487897a1c6d508b14b904dc5777f7ec7e04
kfifo: move out spinlock

Move the pointer to the spinlock out of struct kfifo.  Most users in
tree do not actually use a spinlock, so the few exceptions now have to
call kfifo_{get,put}_locked, which takes an extra argument to a
spinlock.

Signed-off-by: Stefani Seibold <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
Acked-by: Andi Kleen <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
16 files changed:
drivers/char/nozomi.c
drivers/char/sonypi.c
drivers/infiniband/hw/cxgb3/cxio_resource.c
drivers/media/video/meye.c
drivers/net/wireless/libertas/main.c
drivers/platform/x86/fujitsu-laptop.c
drivers/platform/x86/sony-laptop.c
drivers/scsi/libiscsi.c
drivers/scsi/libiscsi_tcp.c
drivers/scsi/libsrp.c
drivers/usb/host/fhci.h
drivers/usb/serial/generic.c
drivers/usb/serial/usb-serial.c
include/linux/kfifo.h
kernel/kfifo.c
net/dccp/probe.c
This page took 0.060708 seconds and 4 git commands to generate.