Skip to content

Commit

Permalink
sched: Remove unused __schedule() declaration
Browse files Browse the repository at this point in the history
__schedule() had been removed.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <4AF129C8.3030008@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Hiroshi Shimamoto authored and Ingo Molnar committed Nov 4, 2009
1 parent ce0e7b2 commit 1477b6a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ extern signed long schedule_timeout(signed long timeout);
extern signed long schedule_timeout_interruptible(signed long timeout);
extern signed long schedule_timeout_killable(signed long timeout);
extern signed long schedule_timeout_uninterruptible(signed long timeout);
asmlinkage void __schedule(void);
asmlinkage void schedule(void);
extern int mutex_spin_on_owner(struct mutex *lock, struct thread_info *owner);

Expand Down
2 changes: 1 addition & 1 deletion kernel/kgdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ static void gdb_cmd_getregs(struct kgdb_state *ks)

/*
* All threads that don't have debuggerinfo should be
* in __schedule() sleeping, since all other CPUs
* in schedule() sleeping, since all other CPUs
* are in kgdb_wait, and thus have debuggerinfo.
*/
if (local_debuggerinfo) {
Expand Down

0 comments on commit 1477b6a

Please sign in to comment.