aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/time.c')
-rw-r--r--arch/powerpc/kernel/time.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c
index 0b34db28916f..4f20a5f15d49 100644
--- a/arch/powerpc/kernel/time.c
+++ b/arch/powerpc/kernel/time.c
@@ -99,6 +99,7 @@ unsigned long tb_ticks_per_jiffy;
99unsigned long tb_ticks_per_usec = 100; /* sane default */ 99unsigned long tb_ticks_per_usec = 100; /* sane default */
100EXPORT_SYMBOL(tb_ticks_per_usec); 100EXPORT_SYMBOL(tb_ticks_per_usec);
101unsigned long tb_ticks_per_sec; 101unsigned long tb_ticks_per_sec;
102EXPORT_SYMBOL(tb_ticks_per_sec); /* for cputime_t conversions */
102u64 tb_to_xs; 103u64 tb_to_xs;
103unsigned tb_to_us; 104unsigned tb_to_us;
104 105
@@ -143,9 +144,13 @@ DEFINE_PER_CPU(unsigned long, last_jiffy);
143 * These are all stored as 0.64 fixed-point binary fractions. 144 * These are all stored as 0.64 fixed-point binary fractions.
144 */ 145 */
145u64 __cputime_jiffies_factor; 146u64 __cputime_jiffies_factor;
147EXPORT_SYMBOL(__cputime_jiffies_factor);
146u64 __cputime_msec_factor; 148u64 __cputime_msec_factor;
149EXPORT_SYMBOL(__cputime_msec_factor);
147u64 __cputime_sec_factor; 150u64 __cputime_sec_factor;
151EXPORT_SYMBOL(__cputime_sec_factor);
148u64 __cputime_clockt_factor; 152u64 __cputime_clockt_factor;
153EXPORT_SYMBOL(__cputime_clockt_factor);
149 154
150static void calc_cputime_factors(void) 155static void calc_cputime_factors(void)
151{ 156{