diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-03-06 08:48:11 -0800 |
|---|---|---|
| committer | Jaroslav Kysela <perex@suse.cz> | 2004-03-06 08:48:11 -0800 |
| commit | 20e39386f528478e1da126050db7ec739d760c1b (patch) | |
| tree | e0b44fa5365f9a6b38619b00755c7b369acba75f /include/linux/sched.h | |
| parent | 38ace63203dddd7a039c530c4f34e4591168ed0f (diff) | |
[PATCH] fastcall / regparm fixes
From: Gerd Knorr <kraxel@suse.de>
Current gcc's error out if a function's declaration and definition disagree
about the register passing convention.
The patch adds a new `fastcall' declatation primitive, and uses that in all
the FASTCALL functions which we could find. A number of inconsistencies were
fixed up along the way.
Diffstat (limited to 'include/linux/sched.h')
| -rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 9dd6606bb9cc..72d6edfe401a 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -602,7 +602,7 @@ extern void do_timer(struct pt_regs *); extern int FASTCALL(wake_up_state(struct task_struct * tsk, unsigned int state)); extern int FASTCALL(wake_up_process(struct task_struct * tsk)); #ifdef CONFIG_SMP - extern void FASTCALL(kick_process(struct task_struct * tsk)); + extern void kick_process(struct task_struct *tsk); #else static inline void kick_process(struct task_struct *tsk) { } #endif |
