diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/arm/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/arm26/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/cris/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/frv/kernel/time.c | 3 | ||||
-rw-r--r-- | arch/h8300/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/i386/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/ia64/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/m32r/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/m68k/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/m68knommu/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/mips/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/parisc/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/ppc/kernel/time.c | 5 | ||||
-rw-r--r-- | arch/ppc64/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/s390/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/sh/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/sh64/kernel/time.c | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/sparc64/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/um/kernel/time_kern.c | 4 | ||||
-rw-r--r-- | arch/v850/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/x86_64/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/xtensa/kernel/time.c | 3 |
24 files changed, 0 insertions, 93 deletions
diff --git a/arch/alpha/kernel/time.c b/arch/alpha/kernel/time.c index 67be50b7d80a..6b2921be1909 100644 --- a/arch/alpha/kernel/time.c +++ b/arch/alpha/kernel/time.c | |||
@@ -55,10 +55,6 @@ | |||
55 | #include "proto.h" | 55 | #include "proto.h" |
56 | #include "irq_impl.h" | 56 | #include "irq_impl.h" |
57 | 57 | ||
58 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
59 | |||
60 | EXPORT_SYMBOL(jiffies_64); | ||
61 | |||
62 | extern unsigned long wall_jiffies; /* kernel/timer.c */ | 58 | extern unsigned long wall_jiffies; /* kernel/timer.c */ |
63 | 59 | ||
64 | static int set_rtc_mmss(unsigned long); | 60 | static int set_rtc_mmss(unsigned long); |
diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c index 69449a818dcc..fc4729106a32 100644 --- a/arch/arm/kernel/time.c +++ b/arch/arm/kernel/time.c | |||
@@ -36,10 +36,6 @@ | |||
36 | #include <asm/thread_info.h> | 36 | #include <asm/thread_info.h> |
37 | #include <asm/mach/time.h> | 37 | #include <asm/mach/time.h> |
38 | 38 | ||
39 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
40 | |||
41 | EXPORT_SYMBOL(jiffies_64); | ||
42 | |||
43 | /* | 39 | /* |
44 | * Our system timer. | 40 | * Our system timer. |
45 | */ | 41 | */ |
diff --git a/arch/arm26/kernel/time.c b/arch/arm26/kernel/time.c index e66aedd02fad..335525339ad6 100644 --- a/arch/arm26/kernel/time.c +++ b/arch/arm26/kernel/time.c | |||
@@ -34,10 +34,6 @@ | |||
34 | #include <asm/irq.h> | 34 | #include <asm/irq.h> |
35 | #include <asm/ioc.h> | 35 | #include <asm/ioc.h> |
36 | 36 | ||
37 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
38 | |||
39 | EXPORT_SYMBOL(jiffies_64); | ||
40 | |||
41 | extern unsigned long wall_jiffies; | 37 | extern unsigned long wall_jiffies; |
42 | 38 | ||
43 | /* this needs a better home */ | 39 | /* this needs a better home */ |
diff --git a/arch/cris/kernel/time.c b/arch/cris/kernel/time.c index a2d99b4aedcd..b863815de78d 100644 --- a/arch/cris/kernel/time.c +++ b/arch/cris/kernel/time.c | |||
@@ -32,10 +32,6 @@ | |||
32 | #include <linux/init.h> | 32 | #include <linux/init.h> |
33 | #include <linux/profile.h> | 33 | #include <linux/profile.h> |
34 | 34 | ||
35 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
36 | |||
37 | EXPORT_SYMBOL(jiffies_64); | ||
38 | |||
39 | int have_rtc; /* used to remember if we have an RTC or not */; | 35 | int have_rtc; /* used to remember if we have an RTC or not */; |
40 | 36 | ||
41 | #define TICK_SIZE tick | 37 | #define TICK_SIZE tick |
diff --git a/arch/frv/kernel/time.c b/arch/frv/kernel/time.c index f43b734482e3..2e9741227b73 100644 --- a/arch/frv/kernel/time.c +++ b/arch/frv/kernel/time.c | |||
@@ -34,9 +34,6 @@ | |||
34 | 34 | ||
35 | extern unsigned long wall_jiffies; | 35 | extern unsigned long wall_jiffies; |
36 | 36 | ||
37 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
38 | EXPORT_SYMBOL(jiffies_64); | ||
39 | |||
40 | unsigned long __nongprelbss __clkin_clock_speed_HZ; | 37 | unsigned long __nongprelbss __clkin_clock_speed_HZ; |
41 | unsigned long __nongprelbss __ext_bus_clock_speed_HZ; | 38 | unsigned long __nongprelbss __ext_bus_clock_speed_HZ; |
42 | unsigned long __nongprelbss __res_bus_clock_speed_HZ; | 39 | unsigned long __nongprelbss __res_bus_clock_speed_HZ; |
diff --git a/arch/h8300/kernel/time.c b/arch/h8300/kernel/time.c index af8c5d2057dd..688a5100604c 100644 --- a/arch/h8300/kernel/time.c +++ b/arch/h8300/kernel/time.c | |||
@@ -32,10 +32,6 @@ | |||
32 | 32 | ||
33 | #define TICK_SIZE (tick_nsec / 1000) | 33 | #define TICK_SIZE (tick_nsec / 1000) |
34 | 34 | ||
35 | u64 jiffies_64; | ||
36 | |||
37 | EXPORT_SYMBOL(jiffies_64); | ||
38 | |||
39 | /* | 35 | /* |
40 | * timer_interrupt() needs to keep up the real-time clock, | 36 | * timer_interrupt() needs to keep up the real-time clock, |
41 | * as well as call the "do_timer()" routine every clocktick | 37 | * as well as call the "do_timer()" routine every clocktick |
diff --git a/arch/i386/kernel/time.c b/arch/i386/kernel/time.c index 46c35ec9137d..07471bba2dc6 100644 --- a/arch/i386/kernel/time.c +++ b/arch/i386/kernel/time.c | |||
@@ -74,10 +74,6 @@ int pit_latch_buggy; /* extern */ | |||
74 | 74 | ||
75 | #include "do_timer.h" | 75 | #include "do_timer.h" |
76 | 76 | ||
77 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
78 | |||
79 | EXPORT_SYMBOL(jiffies_64); | ||
80 | |||
81 | unsigned int cpu_khz; /* Detected as we calibrate the TSC */ | 77 | unsigned int cpu_khz; /* Detected as we calibrate the TSC */ |
82 | EXPORT_SYMBOL(cpu_khz); | 78 | EXPORT_SYMBOL(cpu_khz); |
83 | 79 | ||
diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c index 8b8a5a45b621..5b7e736f3b49 100644 --- a/arch/ia64/kernel/time.c +++ b/arch/ia64/kernel/time.c | |||
@@ -32,10 +32,6 @@ | |||
32 | 32 | ||
33 | extern unsigned long wall_jiffies; | 33 | extern unsigned long wall_jiffies; |
34 | 34 | ||
35 | u64 jiffies_64 __cacheline_aligned_in_smp = INITIAL_JIFFIES; | ||
36 | |||
37 | EXPORT_SYMBOL(jiffies_64); | ||
38 | |||
39 | #define TIME_KEEPER_ID 0 /* smp_processor_id() of time-keeper */ | 35 | #define TIME_KEEPER_ID 0 /* smp_processor_id() of time-keeper */ |
40 | 36 | ||
41 | #ifdef CONFIG_IA64_DEBUG_IRQ | 37 | #ifdef CONFIG_IA64_DEBUG_IRQ |
diff --git a/arch/m32r/kernel/time.c b/arch/m32r/kernel/time.c index 539c562cd54d..2ebce2063fea 100644 --- a/arch/m32r/kernel/time.c +++ b/arch/m32r/kernel/time.c | |||
@@ -39,10 +39,6 @@ extern void send_IPI_allbutself(int, int); | |||
39 | extern void smp_local_timer_interrupt(struct pt_regs *); | 39 | extern void smp_local_timer_interrupt(struct pt_regs *); |
40 | #endif | 40 | #endif |
41 | 41 | ||
42 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
43 | |||
44 | EXPORT_SYMBOL(jiffies_64); | ||
45 | |||
46 | extern unsigned long wall_jiffies; | 42 | extern unsigned long wall_jiffies; |
47 | #define TICK_SIZE (tick_nsec / 1000) | 43 | #define TICK_SIZE (tick_nsec / 1000) |
48 | 44 | ||
diff --git a/arch/m68k/kernel/time.c b/arch/m68k/kernel/time.c index 4ec95e3cb874..98e4b1adfa29 100644 --- a/arch/m68k/kernel/time.c +++ b/arch/m68k/kernel/time.c | |||
@@ -27,10 +27,6 @@ | |||
27 | #include <linux/timex.h> | 27 | #include <linux/timex.h> |
28 | #include <linux/profile.h> | 28 | #include <linux/profile.h> |
29 | 29 | ||
30 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
31 | |||
32 | EXPORT_SYMBOL(jiffies_64); | ||
33 | |||
34 | static inline int set_rtc_mmss(unsigned long nowtime) | 30 | static inline int set_rtc_mmss(unsigned long nowtime) |
35 | { | 31 | { |
36 | if (mach_set_clock_mmss) | 32 | if (mach_set_clock_mmss) |
diff --git a/arch/m68knommu/kernel/time.c b/arch/m68knommu/kernel/time.c index b17c1ecba966..b9d8abb45430 100644 --- a/arch/m68knommu/kernel/time.c +++ b/arch/m68knommu/kernel/time.c | |||
@@ -27,10 +27,6 @@ | |||
27 | 27 | ||
28 | #define TICK_SIZE (tick_nsec / 1000) | 28 | #define TICK_SIZE (tick_nsec / 1000) |
29 | 29 | ||
30 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
31 | |||
32 | EXPORT_SYMBOL(jiffies_64); | ||
33 | |||
34 | extern unsigned long wall_jiffies; | 30 | extern unsigned long wall_jiffies; |
35 | 31 | ||
36 | 32 | ||
diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c index a24651dfaaba..787ed541d442 100644 --- a/arch/mips/kernel/time.c +++ b/arch/mips/kernel/time.c | |||
@@ -45,10 +45,6 @@ | |||
45 | 45 | ||
46 | #define TICK_SIZE (tick_nsec / 1000) | 46 | #define TICK_SIZE (tick_nsec / 1000) |
47 | 47 | ||
48 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
49 | |||
50 | EXPORT_SYMBOL(jiffies_64); | ||
51 | |||
52 | /* | 48 | /* |
53 | * forward reference | 49 | * forward reference |
54 | */ | 50 | */ |
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c index bc979e1abdec..cded25680787 100644 --- a/arch/parisc/kernel/time.c +++ b/arch/parisc/kernel/time.c | |||
@@ -33,10 +33,6 @@ | |||
33 | 33 | ||
34 | #include <linux/timex.h> | 34 | #include <linux/timex.h> |
35 | 35 | ||
36 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
37 | |||
38 | EXPORT_SYMBOL(jiffies_64); | ||
39 | |||
40 | /* xtime and wall_jiffies keep wall-clock time */ | 36 | /* xtime and wall_jiffies keep wall-clock time */ |
41 | extern unsigned long wall_jiffies; | 37 | extern unsigned long wall_jiffies; |
42 | 38 | ||
diff --git a/arch/ppc/kernel/time.c b/arch/ppc/kernel/time.c index 22d7fd1e0aea..67797184f4eb 100644 --- a/arch/ppc/kernel/time.c +++ b/arch/ppc/kernel/time.c | |||
@@ -66,11 +66,6 @@ | |||
66 | 66 | ||
67 | #include <asm/time.h> | 67 | #include <asm/time.h> |
68 | 68 | ||
69 | /* XXX false sharing with below? */ | ||
70 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
71 | |||
72 | EXPORT_SYMBOL(jiffies_64); | ||
73 | |||
74 | unsigned long disarm_decr[NR_CPUS]; | 69 | unsigned long disarm_decr[NR_CPUS]; |
75 | 70 | ||
76 | extern struct timezone sys_tz; | 71 | extern struct timezone sys_tz; |
diff --git a/arch/ppc64/kernel/time.c b/arch/ppc64/kernel/time.c index b56c6a324e17..ab565468578a 100644 --- a/arch/ppc64/kernel/time.c +++ b/arch/ppc64/kernel/time.c | |||
@@ -68,10 +68,6 @@ | |||
68 | #include <asm/systemcfg.h> | 68 | #include <asm/systemcfg.h> |
69 | #include <asm/firmware.h> | 69 | #include <asm/firmware.h> |
70 | 70 | ||
71 | u64 jiffies_64 __cacheline_aligned_in_smp = INITIAL_JIFFIES; | ||
72 | |||
73 | EXPORT_SYMBOL(jiffies_64); | ||
74 | |||
75 | /* keep track of when we need to update the rtc */ | 71 | /* keep track of when we need to update the rtc */ |
76 | time_t last_rtc_update; | 72 | time_t last_rtc_update; |
77 | extern int piranha_simulator; | 73 | extern int piranha_simulator; |
diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c index 2fd75da15495..9a1d95894f3d 100644 --- a/arch/s390/kernel/time.c +++ b/arch/s390/kernel/time.c | |||
@@ -49,10 +49,6 @@ | |||
49 | 49 | ||
50 | #define TICK_SIZE tick | 50 | #define TICK_SIZE tick |
51 | 51 | ||
52 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
53 | |||
54 | EXPORT_SYMBOL(jiffies_64); | ||
55 | |||
56 | static ext_int_info_t ext_int_info_cc; | 52 | static ext_int_info_t ext_int_info_cc; |
57 | static u64 init_timer_cc; | 53 | static u64 init_timer_cc; |
58 | static u64 jiffies_timer_cc; | 54 | static u64 jiffies_timer_cc; |
diff --git a/arch/sh/kernel/time.c b/arch/sh/kernel/time.c index 02ca69918d7c..671b876416bf 100644 --- a/arch/sh/kernel/time.c +++ b/arch/sh/kernel/time.c | |||
@@ -56,10 +56,6 @@ extern unsigned long wall_jiffies; | |||
56 | #define TICK_SIZE (tick_nsec / 1000) | 56 | #define TICK_SIZE (tick_nsec / 1000) |
57 | DEFINE_SPINLOCK(tmu0_lock); | 57 | DEFINE_SPINLOCK(tmu0_lock); |
58 | 58 | ||
59 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
60 | |||
61 | EXPORT_SYMBOL(jiffies_64); | ||
62 | |||
63 | /* XXX: Can we initialize this in a routine somewhere? Dreamcast doesn't want | 59 | /* XXX: Can we initialize this in a routine somewhere? Dreamcast doesn't want |
64 | * these routines anywhere... */ | 60 | * these routines anywhere... */ |
65 | #ifdef CONFIG_SH_RTC | 61 | #ifdef CONFIG_SH_RTC |
diff --git a/arch/sh64/kernel/time.c b/arch/sh64/kernel/time.c index 43e395a14f49..870fe5327e09 100644 --- a/arch/sh64/kernel/time.c +++ b/arch/sh64/kernel/time.c | |||
@@ -116,8 +116,6 @@ | |||
116 | 116 | ||
117 | extern unsigned long wall_jiffies; | 117 | extern unsigned long wall_jiffies; |
118 | 118 | ||
119 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
120 | |||
121 | static unsigned long tmu_base, rtc_base; | 119 | static unsigned long tmu_base, rtc_base; |
122 | unsigned long cprc_base; | 120 | unsigned long cprc_base; |
123 | 121 | ||
diff --git a/arch/sparc/kernel/time.c b/arch/sparc/kernel/time.c index 279a62627c10..24814d58f9e1 100644 --- a/arch/sparc/kernel/time.c +++ b/arch/sparc/kernel/time.c | |||
@@ -45,10 +45,6 @@ | |||
45 | 45 | ||
46 | extern unsigned long wall_jiffies; | 46 | extern unsigned long wall_jiffies; |
47 | 47 | ||
48 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
49 | |||
50 | EXPORT_SYMBOL(jiffies_64); | ||
51 | |||
52 | DEFINE_SPINLOCK(rtc_lock); | 48 | DEFINE_SPINLOCK(rtc_lock); |
53 | enum sparc_clock_type sp_clock_typ; | 49 | enum sparc_clock_type sp_clock_typ; |
54 | DEFINE_SPINLOCK(mostek_lock); | 50 | DEFINE_SPINLOCK(mostek_lock); |
diff --git a/arch/sparc64/kernel/time.c b/arch/sparc64/kernel/time.c index 3f08a32f51a1..38c5525087a2 100644 --- a/arch/sparc64/kernel/time.c +++ b/arch/sparc64/kernel/time.c | |||
@@ -55,10 +55,6 @@ unsigned long ds1287_regs = 0UL; | |||
55 | 55 | ||
56 | extern unsigned long wall_jiffies; | 56 | extern unsigned long wall_jiffies; |
57 | 57 | ||
58 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
59 | |||
60 | EXPORT_SYMBOL(jiffies_64); | ||
61 | |||
62 | static void __iomem *mstk48t08_regs; | 58 | static void __iomem *mstk48t08_regs; |
63 | static void __iomem *mstk48t59_regs; | 59 | static void __iomem *mstk48t59_regs; |
64 | 60 | ||
diff --git a/arch/um/kernel/time_kern.c b/arch/um/kernel/time_kern.c index 4e08f7545d63..020ca79b8d33 100644 --- a/arch/um/kernel/time_kern.c +++ b/arch/um/kernel/time_kern.c | |||
@@ -22,10 +22,6 @@ | |||
22 | #include "mode.h" | 22 | #include "mode.h" |
23 | #include "os.h" | 23 | #include "os.h" |
24 | 24 | ||
25 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
26 | |||
27 | EXPORT_SYMBOL(jiffies_64); | ||
28 | |||
29 | int hz(void) | 25 | int hz(void) |
30 | { | 26 | { |
31 | return(HZ); | 27 | return(HZ); |
diff --git a/arch/v850/kernel/time.c b/arch/v850/kernel/time.c index ea3fd8844ff0..c1e85c2aef65 100644 --- a/arch/v850/kernel/time.c +++ b/arch/v850/kernel/time.c | |||
@@ -26,10 +26,6 @@ | |||
26 | 26 | ||
27 | #include "mach.h" | 27 | #include "mach.h" |
28 | 28 | ||
29 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
30 | |||
31 | EXPORT_SYMBOL(jiffies_64); | ||
32 | |||
33 | #define TICK_SIZE (tick_nsec / 1000) | 29 | #define TICK_SIZE (tick_nsec / 1000) |
34 | 30 | ||
35 | /* | 31 | /* |
diff --git a/arch/x86_64/kernel/time.c b/arch/x86_64/kernel/time.c index 47d25ad08160..bd5ea09bfdf9 100644 --- a/arch/x86_64/kernel/time.c +++ b/arch/x86_64/kernel/time.c | |||
@@ -42,10 +42,6 @@ | |||
42 | #include <asm/apic.h> | 42 | #include <asm/apic.h> |
43 | #endif | 43 | #endif |
44 | 44 | ||
45 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
46 | |||
47 | EXPORT_SYMBOL(jiffies_64); | ||
48 | |||
49 | #ifdef CONFIG_CPU_FREQ | 45 | #ifdef CONFIG_CPU_FREQ |
50 | static void cpufreq_delayed_get(void); | 46 | static void cpufreq_delayed_get(void); |
51 | #endif | 47 | #endif |
diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c index 8e423d1335ce..cb6e38ed2b1d 100644 --- a/arch/xtensa/kernel/time.c +++ b/arch/xtensa/kernel/time.c | |||
@@ -29,9 +29,6 @@ | |||
29 | 29 | ||
30 | extern volatile unsigned long wall_jiffies; | 30 | extern volatile unsigned long wall_jiffies; |
31 | 31 | ||
32 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
33 | EXPORT_SYMBOL(jiffies_64); | ||
34 | |||
35 | spinlock_t rtc_lock = SPIN_LOCK_UNLOCKED; | 32 | spinlock_t rtc_lock = SPIN_LOCK_UNLOCKED; |
36 | EXPORT_SYMBOL(rtc_lock); | 33 | EXPORT_SYMBOL(rtc_lock); |
37 | 34 | ||