- 12 Aug, 2009 2 commits
-
-
Uwe Kleine-König authored
This fixes a build failure for 2.6.31-rc4-rt1 (ARCH=arm, s3c2410_defconfig): sound/soc/s3c24xx/s3c2443-ac97.c:50: warning: type defaults to 'int' in declaration of 'DECLARE_MUTEX' sound/soc/s3c24xx/s3c2443-ac97.c:50: warning: parameter names (without types) in function declaration sound/soc/s3c24xx/s3c2443-ac97.c: In function 's3c2443_ac97_read': sound/soc/s3c24xx/s3c2443-ac97.c:59: error: 'ac97_mutex' undeclared (first use in this function) sound/soc/s3c24xx/s3c2443-ac97.c:59: error: (Each undeclared identifier is reported only once sound/soc/s3c24xx/s3c2443-ac97.c:59: error: for each function it appears in.) sound/soc/s3c24xx/s3c2443-ac97.c: In function 's3c2443_ac97_write': sound/soc/s3c24xx/s3c2443-ac97.c:93: error: 'ac97_mutex' undeclared (first use in this function) Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Takashi Iwai <tiwai@suse.de> Cc: Jaroslav Kysela <perex@perex.cz> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Liam Girdwood <lrg@slimlogic.co.uk> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Timur Tabi <timur@freescale.com> Cc: Eric Miao <eric.miao@marvell.com> Cc: alsa-devel@alsa-project.org LKML-Reference: <1249677761-19470-2-git-send-email-u.kleine-koenig@pengutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Uwe Kleine-König authored
This fixes the following error: CC drivers/mfd/ucb1x00-core.o drivers/mfd/ucb1x00-core.c: In function 'ucb1x00_adc_enable': drivers/mfd/ucb1x00-core.c:138: error: implicit declaration of function 'down' drivers/mfd/ucb1x00-core.c: In function 'ucb1x00_adc_disable': drivers/mfd/ucb1x00-core.c:196: error: implicit declaration of function 'up' drivers/mfd/ucb1x00-core.c: In function 'ucb1x00_probe': drivers/mfd/ucb1x00-core.c:500: error: implicit declaration of function 'sema_init' Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Samuel Ortiz <sameo@linux.intel.com> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Greg Kroah-Hartman <gregkh@suse.de> LKML-Reference: <1249677761-19470-1-git-send-email-u.kleine-koenig@pengutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
- 28 Jul, 2009 10 commits
-
-
Thomas Gleixner authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Add anon_semaphore to annotate the code for real anonymous semaphores. Map semaphores to them for !RT Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
- 27 Jul, 2009 28 commits
-
-
Thomas Gleixner authored
This reverts commit 2e272570. hch muttered: "Actually we may return to userspace with it held, so the conversion is a bad idea. But I have a patch I need to post to completely get rid of it." Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Both locks have no struct owner rules and therefor preempt-rt must keep them as real semaphores. Convert them to rw_anon_semaphores and annotate their semantics hereby. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
i_alloc_sem is used as a completion in direct-io which does not follow owner rules. preempt-rt needs to keep it as such. So convert it to rw_anon_semaphore and annotate the semantics hereby. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Most of the rw_semaphores have struct owner semantics. i_alloc_sem and two xfs ones are used as both semaphores and completions. That makes it hard to convert for preempt-rt. Add an rw_anon_semaphores type which is not converted on -rt. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Semaphores used as mutexes have been deprecated for years. Now that all users are either converted to real semaphores or to mutexes remove the cruft. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
bd_mount_sem is used as mutex so make it a mutex. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Al Viro <viro@zeniv.linux.org.uk>
-
Thomas Gleixner authored
init_MUTEX(_LOCKED) and DECLARE_MUTEX are going away. Bulk convert staging users. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Greg Kroah-Hartman <gregkh@suse.de>
-
Thomas Gleixner authored
It needs to be investigated whether it can be replaced by a real mutex, but that needs more thought and investigation. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
The semaphore is used as mutex so make it a mutex. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Wan ZongShun <mcuos.com@gmail.com>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and used as completion in some places. Make it a semaphore. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and used as completion in some places. Make it a semaphore. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Tony Luck <tony.luck@intel.com>
-
Thomas Gleixner authored
The semaphore is used as mutex so make it a mutex. Clean up all users outside of drivers/base as well. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious. Make it a semaphore. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Roland Dreier <rolandd@cisco.com>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completions in some places. Make it a semaphore. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completions in some places. Make it a semaphore. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Pierre Ossman <drzeus@drzeus.cx>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completion in some places. Make it a semaphore. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: David S. Miller <davem@davemloft.net>
-
Thomas Gleixner authored
The usage of this "mutex" is non obvious and probably a completions in some places. Make it a semaphore. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: David S. Miller <davem@davemloft.net>
-
Thomas Gleixner authored
bp->b_sema claims to be a mutex, but it is a semaphore with non obvious semantics. Make it a real semaphore. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Christoph Hellwig <hch@lst.de>
-
Thomas Gleixner authored
The semaphore is used as mutex so make it a mutex. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Greg Kroah-Hartman <gregkh@suse.de>
-
Thomas Gleixner authored
The "mutex" ftdi->sw_lock is used as a lock and a completion. Convert it to a real semaphore which allows both. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Greg Kroah-Hartman <gregkh@suse.de>
-
Thomas Gleixner authored
The usage of these "mutex" is non obvious and probably a completion in some places. Make it them semaphores. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Al Viro <viro@zeniv.linux.org.uk>
-
Thomas Gleixner authored
pSesInfo->sesSem is used as mutex so make it a mutex. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Steve French <sfrench@us.ibm.com>
-
Thomas Gleixner authored
tree_lock is used as mutex so make it a mutex. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Al Viro <viro@zeniv.linux.org.uk>
-
Thomas Gleixner authored
tree_lock is used as mutex so make it a mutex. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Al Viro <viro@zeniv.linux.org.uk>
-
Thomas Gleixner authored
sbi->hpfs_creation_de is used as mutex so make it a mutex. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Al Viro <viro@zeniv.linux.org.uk>
-
Thomas Gleixner authored
server->sem is used as mutex so make it a mutex. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Al Viro <viro@zeniv.linux.org.uk>
-
Thomas Gleixner authored
hdev->req_lock is used as mutex so make it a mutex. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Marcel Holtmann <marcel@holtmann.org>
-
Thomas Gleixner authored
The usage of these "mutex"es is non obvious and probably completions in some places. Make it them semaphores. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
-