From fa44005c7639940d5205fe470f2bd88fb96a3ada Mon Sep 17 00:00:00 2001 From: George Anzinger Date: Fri, 10 May 2002 06:14:02 -0700 Subject: [PATCH] 64-bit jiffies, a better solution Ok, here it is. The following arch are not covered: Mips, Mips64 in 32-bit mode, parisc in __LP64__ mode. In addition, x86_64 mentions jiffies in the existing script. This may be a problem. --- include/linux/sched.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/linux/sched.h b/include/linux/sched.h index af396542c8ae..fdf83faccdde 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -459,6 +459,11 @@ extern void free_uid(struct user_struct *); #include +/* + * The 64-bit value is not volatile - you MUST NOT read it + * without holding read_lock_irq(&xtime_lock) + */ +extern u64 jiffies_64; extern unsigned long volatile jiffies; extern unsigned long itimer_ticks; extern unsigned long itimer_next; -- cgit v1.2.3