Re: [patch -rt] make gendev_rel_sem a compat_semaphore

From: Ingo Molnar
Date: Thu Nov 17 2005 - 03:38:35 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> I was getting the following:
>
> BUG: nonzero lock count 10 at exit time?
> modprobe: 2972 [ffff81007e1aaf70, 116]

> Looking into this I see that gendev_rel_sem, which is only used when
> the device is unregistered, is defined as a semaphore. This patch
> changes this to be a compat_semaphore.

thanks, applied.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/