Messages in this thread Patch in this message | | | Subject | [PATCH -rt] spin_lock in check_monotonic_clock must be raw | From | Steven Rostedt <> | Date | Thu, 30 Mar 2006 09:28:04 -0500 |
| |
Hi Ingo,
The lock in check_monotonic_clock must be a raw spinlock since it is called from the hrtimer_interrupt.
-- Steve
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Index: linux-2.6.16-rt11/kernel/time/timeofday.c =================================================================== --- linux-2.6.16-rt11.orig/kernel/time/timeofday.c 2006-03-30 07:10:16.000000000 -0500 +++ linux-2.6.16-rt11/kernel/time/timeofday.c 2006-03-30 09:23:07.000000000 -0500 @@ -125,7 +125,7 @@ #ifdef CONFIG_PARANOID_GENERIC_TIME /* This will hurt performance! */ -static DEFINE_SPINLOCK(check_monotonic_lock); +static DEFINE_RAW_SPINLOCK(check_monotonic_lock); static ktime_t last_monotonic_ktime; static ktime_t get_check_value(void)
- 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/
| |