> Ingo purposely put this in to crash
> the compile so that we know where this can be a problem right away.
And it works nice ;)

> The patch you wanted to send was:
> 
> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]>
> 
> Index: linux_realtime_ernie/drivers/char/watchdog/cpu5wdt.c
> ===================================================================
> --- linux_realtime_ernie/drivers/char/watchdog/cpu5wdt.c        (revision 265)
> +++ linux_realtime_ernie/drivers/char/watchdog/cpu5wdt.c        (working copy)
> @@ -56,7 +56,7 @@
>  /* some device data */
> 
>  static struct {
> -       struct semaphore stop;
> +       struct compat_semaphore stop;
>         volatile int running;
>         struct timer_list timer;
>         volatile int queue;

Another solution could be this (as shown in drivers/cpufreq/cpufreq.c):
-       init_MUTEX_LOCKED(&policy->lock);
+       init_MUTEX(&policy->lock);
+       down(&policy->lock);
-
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/

Reply via email to