]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/timer.c
x86: fix panic with interrupts off (needed for MCE)
[karo-tx-linux.git] / kernel / timer.c
index b4555568b4e4ad16f34a887eabed6f21e05abfba..e2c47b82ac36130de568d089df50288c7034fa04 100644 (file)
@@ -531,10 +531,13 @@ static void __init_timer(struct timer_list *timer,
 }
 
 /**
- * init_timer - initialize a timer.
+ * init_timer_key - initialize a timer
  * @timer: the timer to be initialized
+ * @name: name of the timer
+ * @key: lockdep class key of the fake lock used for tracking timer
+ *       sync lock dependencies
  *
- * init_timer() must be done to a timer prior calling *any* of the
+ * init_timer_key() must be done to a timer prior calling *any* of the
  * other timer functions.
  */
 void init_timer_key(struct timer_list *timer,
@@ -753,6 +756,7 @@ void add_timer_on(struct timer_list *timer, int cpu)
        wake_up_idle_cpu(cpu);
        spin_unlock_irqrestore(&base->lock, flags);
 }
+EXPORT_SYMBOL_GPL(add_timer_on);
 
 /**
  * del_timer - deactive a timer.