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 <[email protected]>
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]