]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
sched/headers, time/timekeeping: Move the xtime_update() prototype from <linux/sched...
authorIngo Molnar <mingo@kernel.org>
Fri, 3 Feb 2017 11:04:39 +0000 (12:04 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:43:44 +0000 (01:43 +0100)
This was in <linux/sched.h> only for hysterical raisins.

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>
include/linux/sched.h
include/linux/time.h

index 76a2e522be29aa94197f74db47eb49a6dc691e1f..5a4fbc76feb4fd9aa4dbfd6817217f9ded992114 100644 (file)
@@ -1579,8 +1579,6 @@ extern struct task_struct *find_task_by_pid_ns(pid_t nr,
 
 #include <asm/current.h>
 
-extern void xtime_update(unsigned long ticks);
-
 extern int wake_up_state(struct task_struct *tsk, unsigned int state);
 extern int wake_up_process(struct task_struct *tsk);
 extern void wake_up_new_task(struct task_struct *tsk);
index 23f0f5ce30909d7349a354086980e2ca9988744c..4f4ab65b6e61e64ca52d66151f4af413a7609d5a 100644 (file)
@@ -167,6 +167,8 @@ static inline bool timespec_inject_offset_valid(const struct timespec *ts)
 extern u32 (*arch_gettimeoffset)(void);
 #endif
 
+extern void xtime_update(unsigned long ticks);
+
 struct itimerval;
 extern int do_setitimer(int which, struct itimerval *value,
                        struct itimerval *ovalue);