time.h (a02001086bbfb4da35d1228bebc2f1b442db455f) time.h (b6c295df3131c6fa25f8f29625ee0609506150ad)
1/*
2 * Common time prototypes and such for all ppc machines.
3 *
4 * Written by Cort Dougan (cort@cs.nmt.edu) to merge
5 * Paul Mackerras' version and mine for PReP and Pmac.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License

--- 197 unchanged lines hidden (view full) ---

206};
207
208DECLARE_PER_CPU(struct cpu_usage, cpu_usage_array);
209
210extern void secondary_cpu_time_init(void);
211
212DECLARE_PER_CPU(u64, decrementers_next_tb);
213
1/*
2 * Common time prototypes and such for all ppc machines.
3 *
4 * Written by Cort Dougan (cort@cs.nmt.edu) to merge
5 * Paul Mackerras' version and mine for PReP and Pmac.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License

--- 197 unchanged lines hidden (view full) ---

206};
207
208DECLARE_PER_CPU(struct cpu_usage, cpu_usage_array);
209
210extern void secondary_cpu_time_init(void);
211
212DECLARE_PER_CPU(u64, decrementers_next_tb);
213
214/* Convert timebase ticks to nanoseconds */
215unsigned long long tb_to_ns(unsigned long long tb_ticks);
216
214#endif /* __KERNEL__ */
215#endif /* __POWERPC_TIME_H */
217#endif /* __KERNEL__ */
218#endif /* __POWERPC_TIME_H */