summaryrefslogtreecommitdiff
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-02-24 16:12:37 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-02-24 16:12:37 -0800
commit4c238c91c817410c329598be7d543621e4014b8a (patch)
tree425068719329aa2f9fa218739dae53fd1a946773 /kernel/exit.c
parent0bab064232c278cb484b6aaa790b9c626ab6524b (diff)
[PATCH] asmlinkage fixes
From: Andreas Gruenbacher <agruen@suse.de>, and me. Latest gcc cvs is able to detect mismatches between functions which are tagged asmlinkage and declarations which are missing asmlinkage. Or vice versa. Fix up the fallout from an x86 allyesconfig build.
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 374b01755aa4..bbde654c70a7 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -743,7 +743,7 @@ static void exit_notify(struct task_struct *tsk)
}
-NORET_TYPE void do_exit(long code)
+asmlinkage NORET_TYPE void do_exit(long code)
{
struct task_struct *tsk = current;