提交 ad46c2c4 编写于 作者: I Ingo Molnar

sched: clean up fastcall uses of sched_fork()/sched_exit()

sched_fork()/sched_exit() does not need to specify fastcall anymore,
as the x86 kernel defaults to regparm3, and no assembly code calls
these functions.
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 172ba844
...@@ -1416,8 +1416,8 @@ extern void FASTCALL(wake_up_new_task(struct task_struct * tsk, ...@@ -1416,8 +1416,8 @@ extern void FASTCALL(wake_up_new_task(struct task_struct * tsk,
#else #else
static inline void kick_process(struct task_struct *tsk) { } static inline void kick_process(struct task_struct *tsk) { }
#endif #endif
extern void FASTCALL(sched_fork(struct task_struct * p, int clone_flags)); extern void sched_fork(struct task_struct *p, int clone_flags);
extern void FASTCALL(sched_exit(struct task_struct * p)); extern void sched_dead(struct task_struct *p);
extern int in_group_p(gid_t); extern int in_group_p(gid_t);
extern int in_egroup_p(gid_t); extern int in_egroup_p(gid_t);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册