On Mon, 27 Jun 2005, Linux Kernel Mailing List wrote:
> tree 11d80109ddc2f61de6a75a37941346100a67a0d1
> parent af246041277674854383cf91b8f0b01217b521e8
> author Dmitry Torokhov <[email protected]> Sun, 29 May 2005 12:29:52 -0500
> committer Dmitry Torokhov <[email protected]> Sun, 29 May 2005 12:29:52 -0500
>
> Input: fix open/close races in joystick drivers - add a semaphore
> to the ones that register more than one input device.
>
> Signed-off-by: Dmitry Torokhov <[email protected]>
>
> drivers/input/joystick/amijoy.c | 29 ++++++++++++++++-------------
This patch broke compilation of amijoy. Trivial fix below.
Amiga joystick: Fix typo introduced by fixing the open/close races in
2.6.13-rc1
Signed-off-by: Geert Uytterhoeven <[email protected]>
--- linux-2.6.13-rc1/drivers/input/joystick/amijoy.c 2005-06-29 22:15:20.000000000 +0200
+++ linux-m68k-2.6.13-rc1/drivers/input/joystick/amijoy.c 2005-07-12 13:20:20.000000000 +0200
@@ -105,7 +105,7 @@ out:
static void amijoy_close(struct input_dev *dev)
{
- down(&amijoysem);
+ down(&amijoy_sem);
if (!--amijoy_used)
free_irq(IRQ_AMIGA_VERTB, amijoy_interrupt);
up(&amijoy_sem);
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|