> +
> struct joydev {
> int exist;
> int open;
> @@ -134,7 +136,7 @@
> return;
> }
>
> - event.time = jiffies * (1000 / HZ);
> + event.time = MSECS(jiffies);
>
> while (list) {
>
> @@ -279,7 +281,7 @@
>
> struct js_event event;
>
> - event.time = jiffies * (1000/HZ);
> + event.time = MSECS(jiffies);
>
> if (list->startup < joydev->nkey) {
> event.type = JS_EVENT_BUTTON | JS_EVENT_INIT;
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
-- George Anzinger george@mvista.com High-res-timers: http://sourceforge.net/projects/high-res-timers/ Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/