@@ -209,7 +209,7 @@ extern void oops_enter(void);
extern void oops_exit(void);
void print_oops_end_marker(void);
extern int oops_may_print(void);
-void do_exit(long error_code)
+asmlinkage void do_exit(long error_code)
__noreturn;
void complete_and_exit(struct completion *, long)
__noreturn;
@@ -902,7 +902,7 @@ static void check_stack_usage(void)
static inline void check_stack_usage(void) {}
#endif
-void do_exit(long code)
+asmlinkage void do_exit(long code)
{
struct task_struct *tsk = current;
int group_dead;