patch-2.4.0-test10 linux/kernel/timer.c
Next file: linux/kernel/user.c
Previous file: linux/kernel/time.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Oct 16 12:58:51 2000
- Orig file:
v2.4.0-test9/linux/kernel/timer.c
- Orig date:
Sun Oct 8 10:50:38 2000
diff -u --recursive --new-file v2.4.0-test9/linux/kernel/timer.c linux/kernel/timer.c
@@ -164,7 +164,7 @@
spinlock_t timerlist_lock = SPIN_LOCK_UNLOCKED;
#ifdef CONFIG_SMP
-volatile struct timer_list * volatile running_timer = NULL;
+volatile struct timer_list * volatile running_timer;
#define timer_enter(t) do { running_timer = t; mb(); } while (0)
#define timer_exit() do { running_timer = NULL; } while (0)
#define timer_is_running(t) (running_timer == t)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)