Commit 309018ba authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Make update_one_process() static

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a95eaa03
...@@ -168,8 +168,6 @@ long io_schedule_timeout(long timeout); ...@@ -168,8 +168,6 @@ long io_schedule_timeout(long timeout);
extern void cpu_init (void); extern void cpu_init (void);
extern void trap_init(void); extern void trap_init(void);
extern void update_process_times(int user); 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 void scheduler_tick(int user_tick, int system);
extern unsigned long cache_decay_ticks; extern unsigned long cache_decay_ticks;
......
...@@ -829,7 +829,7 @@ static inline void do_it_prof(struct task_struct *p) ...@@ -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) unsigned long system, int cpu)
{ {
do_process_times(p, user, system); do_process_times(p, user, system);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment