[PATCH] Fix the kick_off_hrtimer macro

From: Daniel Walker
Date: Tue Jan 10 2006 - 19:06:13 EST


This macro doesn't currently have the two options when
CONFIG_HIGH_RES_TIMERS is off. So I added them.

Signed-Off-By: Daniel Walker <dwalker@xxxxxxxxxx>


Index: linux-2.6.15/kernel/hrtimer.c
===================================================================
--- linux-2.6.15.orig/kernel/hrtimer.c
+++ linux-2.6.15/kernel/hrtimer.c
@@ -404,7 +404,7 @@ kick_off_hrtimer(struct hrtimer *timer,
# define hrtimer_hres_active 0
# define hres_enqueue_expired(t,b,n) 0
# define hrtimer_check_clocks() do { } while (0)
-# define kick_off_hrtimer do { } while (0)
+# define kick_off_hrtimer(a,b) do { } while (0)

#endif /* !CONFIG_HIGH_RES_TIMERS */

-
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/