diff --git a/[refs] b/[refs] index b8a59130c8bf..e67dba4649e2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: be6b5a3505fa0cd54c3b5959a39293f47c648980 +refs/heads/master: 6ea24f9ad18c65cc179593b5cc2a88cdadf8cc0c diff --git a/trunk/kernel/timer.c b/trunk/kernel/timer.c index ee319fc69f40..726caf9a0a69 100644 --- a/trunk/kernel/timer.c +++ b/trunk/kernel/timer.c @@ -408,7 +408,7 @@ static int cascade(tvec_base_t *base, tvec_t *tv, int index) * This function cascades all vectors and executes all expired timer * vectors. */ -#define INDEX(N) (base->timer_jiffies >> (TVR_BITS + N * TVN_BITS)) & TVN_MASK +#define INDEX(N) ((base->timer_jiffies >> (TVR_BITS + (N) * TVN_BITS)) & TVN_MASK) static inline void __run_timers(tvec_base_t *base) {