summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Anzinger <george@mvista.com>2002-05-10 06:14:02 -0700
committerJeff Garzik <jgarzik@mandrakesoft.com>2002-05-10 06:14:02 -0700
commitfa44005c7639940d5205fe470f2bd88fb96a3ada (patch)
tree89d0fe7b26ecf0e8e56f306a7e95bac358fc6fdc /include
parent2b5adb1d588e1af9e104efdd9953ed5a2ed8dc85 (diff)
[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.
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h5
1 files changed, 5 insertions, 0 deletions
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 <asm/current.h>
+/*
+ * 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;