sched/headers, timekeeping: Move the timer tick function prototypes to <linux/timekeeping.h>
Move the update_process_times() and xtime_update() prototypes to <linux/timekeeping.h>. Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
parent
c5a21921d5
commit
93b5a9a705
|
@ -180,7 +180,6 @@ extern cpumask_var_t cpu_isolated_map;
|
||||||
|
|
||||||
extern int runqueue_is_locked(int cpu);
|
extern int runqueue_is_locked(int cpu);
|
||||||
|
|
||||||
extern void update_process_times(int user);
|
|
||||||
extern void scheduler_tick(void);
|
extern void scheduler_tick(void);
|
||||||
|
|
||||||
#define MAX_SCHEDULE_TIMEOUT LONG_MAX
|
#define MAX_SCHEDULE_TIMEOUT LONG_MAX
|
||||||
|
|
|
@ -167,8 +167,6 @@ static inline bool timespec_inject_offset_valid(const struct timespec *ts)
|
||||||
extern u32 (*arch_gettimeoffset)(void);
|
extern u32 (*arch_gettimeoffset)(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void xtime_update(unsigned long ticks);
|
|
||||||
|
|
||||||
struct itimerval;
|
struct itimerval;
|
||||||
extern int do_setitimer(int which, struct itimerval *value,
|
extern int do_setitimer(int which, struct itimerval *value,
|
||||||
struct itimerval *ovalue);
|
struct itimerval *ovalue);
|
||||||
|
|
|
@ -8,6 +8,10 @@
|
||||||
void timekeeping_init(void);
|
void timekeeping_init(void);
|
||||||
extern int timekeeping_suspended;
|
extern int timekeeping_suspended;
|
||||||
|
|
||||||
|
/* Architecture timer tick functions: */
|
||||||
|
extern void update_process_times(int user);
|
||||||
|
extern void xtime_update(unsigned long ticks);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get and set timeofday
|
* Get and set timeofday
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue