x86-64 needs an own special declaration of jiffies_64.
prepare for this by moving the jiffies_64 declaration from
kernel/timer.c down into each architecture.
#include "proto.h"
#include "irq_impl.h"
+u64 jiffies_64;
+
extern rwlock_t xtime_lock;
extern unsigned long wall_jiffies; /* kernel/timer.c */
#include <asm/irq.h>
#include <asm/leds.h>
+u64 jiffies_64;
+
extern rwlock_t xtime_lock;
extern unsigned long wall_jiffies;
#include <asm/svinto.h>
+u64 jiffies_64;
+
static int have_rtc; /* used to remember if we have an RTC or not */
/* define this if you need to use print_timestamp */
*/
#include <linux/irq.h>
+u64 jiffies_64;
unsigned long cpu_khz; /* Detected as we calibrate the TSC */
extern unsigned long wall_jiffies;
extern unsigned long last_time_offset;
+u64 jiffies_64;
+
#ifdef CONFIG_IA64_DEBUG_IRQ
unsigned long last_cli_ip;
#include <linux/timex.h>
+u64 jiffies_64;
static inline int set_rtc_mmss(unsigned long nowtime)
{
#define USECS_PER_JIFFY (1000000/HZ)
#define USECS_PER_JIFFY_FRAC ((1000000ULL << 32) / HZ & 0xffffffff)
+u64 jiffies_64;
+
/*
* forward reference
*/
#include <asm/sysmips.h>
#include <asm/uaccess.h>
+u64 jiffies_64;
+
extern asmlinkage void syscall_trace(void);
asmlinkage int sys_pipe(abi64_no_regargs, struct pt_regs regs)
#include <linux/timex.h>
+u64 jiffies_64;
+
extern rwlock_t xtime_lock;
static int timer_value;
#include <asm/time.h>
+/* XXX false sharing with below? */
+u64 jiffies_64;
+
unsigned long disarm_decr[NR_CPUS];
extern int do_sys_settimeofday(struct timeval *tv, struct timezone *tz);
void smp_local_timer_interrupt(struct pt_regs *);
+u64 jiffies_64;
+
/* keep track of when we need to update the rtc */
time_t last_rtc_update;
extern rwlock_t xtime_lock;
#define TICK_SIZE tick
+u64 jiffies_64;
+
static ext_int_info_t ext_int_info_timer;
static uint64_t init_timer_cc;
#define TICK_SIZE tick
+u64 jiffies_64;
+
static ext_int_info_t ext_int_info_timer;
static uint64_t init_timer_cc;
#endif /* CONFIG_CPU_SUBTYPE_ST40STB1 */
#endif /* __sh3__ or __SH4__ */
+u64 jiffies_64;
+
extern rwlock_t xtime_lock;
extern unsigned long wall_jiffies;
#define TICK_SIZE tick
extern rwlock_t xtime_lock;
+u64 jiffies_64;
+
enum sparc_clock_type sp_clock_typ;
spinlock_t mostek_lock = SPIN_LOCK_UNLOCKED;
unsigned long mstk48t02_regs = 0UL;
unsigned long ds1287_regs = 0UL;
#endif
+u64 jiffies_64;
+
static unsigned long mstk48t08_regs = 0UL;
static unsigned long mstk48t59_regs = 0UL;
extern int do_setitimer(int, struct itimerval *, struct itimerval *);
/*
- * The 64-bit value is not volatile - you MUST NOT read it
+ * The 64-bit jiffies value is not atomic - you MUST NOT read it
* without holding read_lock_irq(&xtime_lock).
* jiffies is defined in the linker script...
*/
-u64 jiffies_64;
+
unsigned int * prof_buffer;
unsigned long prof_len;