diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-06-17 18:09:37 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-17 18:09:37 -0700 |
| commit | 309018baf0e8ea5f8b3f271c568d734164dd5e27 (patch) | |
| tree | 36c8c40f184d20ed1fbc2b740333a026c317e429 | |
| parent | a95eaa039d562e3de5638200c2c0fbe6538650c9 (diff) | |
[PATCH] Make update_one_process() static
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| -rw-r--r-- | include/linux/sched.h | 2 | ||||
| -rw-r--r-- | kernel/timer.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 0e709ff092a3..0265d18570f9 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -168,8 +168,6 @@ long io_schedule_timeout(long timeout); extern void cpu_init (void); extern void trap_init(void); extern void update_process_times(int user); -extern void update_one_process(struct task_struct *p, unsigned long user, - unsigned long system, int cpu); extern void scheduler_tick(int user_tick, int system); extern unsigned long cache_decay_ticks; diff --git a/kernel/timer.c b/kernel/timer.c index 3a8162b97f22..56b315bc53cf 100644 --- a/kernel/timer.c +++ b/kernel/timer.c @@ -829,7 +829,7 @@ static inline void do_it_prof(struct task_struct *p) } } -void update_one_process(struct task_struct *p, unsigned long user, +static void update_one_process(struct task_struct *p, unsigned long user, unsigned long system, int cpu) { do_process_times(p, user, system); |
