[PATCH] spin/rwlock init cleanups
authorIngo Molnar <mingo@elte.hu>
Tue, 27 Jun 2006 09:53:55 +0000 (02:53 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 00:32:39 +0000 (17:32 -0700)
commit34af946a22724c4e2b204957f2b24b22a0fb121c
tree7881dcbd0a698257c126198cdb6d97d4e45ee51e
parentb6cd0b772dcc5dc9b4c03d53946474dee399fa72
[PATCH] spin/rwlock init cleanups

locking init cleanups:

 - convert " = SPIN_LOCK_UNLOCKED" to spin_lock_init() or DEFINE_SPINLOCK()
 - convert rwlocks in a similar manner

this patch was generated automatically.

Motivation:

 - cleanliness
 - lockdep needs control of lock initialization, which the open-coded
   variants do not give
 - it's also useful for -rt and for lock debugging in general

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
51 files changed:
arch/ia64/sn/kernel/irq.c
arch/mips/kernel/smtc.c
arch/powerpc/platforms/cell/spufs/switch.c
arch/powerpc/platforms/powermac/pfunc_core.c
arch/powerpc/platforms/pseries/eeh_event.c
arch/powerpc/sysdev/mmio_nvram.c
arch/xtensa/kernel/time.c
arch/xtensa/kernel/traps.c
drivers/char/drm/drm_memory_debug.h
drivers/char/drm/via_dmablit.c
drivers/char/epca.c
drivers/char/moxa.c
drivers/char/specialix.c
drivers/char/sx.c
drivers/isdn/gigaset/common.c
drivers/leds/led-core.c
drivers/leds/led-triggers.c
drivers/misc/ibmasm/module.c
drivers/pcmcia/m8xx_pcmcia.c
drivers/rapidio/rio-access.c
drivers/rtc/rtc-sa1100.c
drivers/rtc/rtc-vr41xx.c
drivers/s390/block/dasd_eer.c
drivers/scsi/libata-core.c
drivers/sn/ioc3.c
drivers/video/backlight/hp680_bl.c
fs/nfsd/nfs4state.c
fs/ocfs2/cluster/heartbeat.c
fs/ocfs2/cluster/tcp.c
fs/ocfs2/dlm/dlmdomain.c
fs/ocfs2/dlm/dlmlock.c
fs/ocfs2/dlm/dlmrecovery.c
fs/ocfs2/dlmglue.c
fs/ocfs2/journal.c
include/asm-alpha/core_t2.h
kernel/audit.c
mm/sparse.c
net/ipv6/route.c
net/sunrpc/auth_gss/gss_krb5_seal.c
net/tipc/bcast.c
net/tipc/bearer.c
net/tipc/config.c
net/tipc/dbg.c
net/tipc/handler.c
net/tipc/name_table.c
net/tipc/net.c
net/tipc/node.c
net/tipc/port.c
net/tipc/ref.c
net/tipc/subscr.c
net/tipc/user_reg.c