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 /kernel/timer.c | |
| 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 'kernel/timer.c')
| -rw-r--r-- | kernel/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/timer.c b/kernel/timer.c index f88763c4d820..6f1ca8842250 100644 --- a/kernel/timer.c +++ b/kernel/timer.c @@ -997,7 +997,7 @@ static void process_timeout(unsigned long __data) * * In all cases the return value is guaranteed to be non-negative. */ -signed long schedule_timeout(signed long timeout) +fastcall signed long schedule_timeout(signed long timeout) { struct timer_list timer; unsigned long expire; |
