Hello.
Without the attached patch, I wasn't able
to get the PIT to work as a clocksource for
high-res timers.
I don't know whether the patch is correct,
but I tested it and it works.
Can someone please tell me what exactly
does this flag mean? google reveals nothing
sensible to me, sorry...
---
Set CLOCK_SOURCE_IS_CONTINUOUS flag for the PIT clocksource
Signed-off-by: Stas Sergeev <[email protected]>
CC: Thomas Gleixner <[email protected]>
--- linux-2.6.21/arch/i386/kernel/i8253.c 2007-05-12 11:29:23.000000000 +0400
+++ linux-2.6.21-xx/arch/i386/kernel/i8253.c 2007-05-13 02:19:57.000000000 +0400
@@ -193,6 +193,7 @@
.mask = CLOCKSOURCE_MASK(32),
.mult = 0,
.shift = 20,
+ .flags = CLOCK_SOURCE_IS_CONTINUOUS,
};
static int __init init_pit_clocksource(void)
[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]