]> git.hungrycats.org Git - linux/commitdiff
- cleanup from Andi Kleen: schedule_tail() does not have to take 'prev' as a paramete...
authorIngo Molnar <mingo@elte.hu>
Tue, 19 Feb 2002 17:46:39 +0000 (18:46 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 19 Feb 2002 17:46:39 +0000 (18:46 +0100)
arch/i386/kernel/entry.S
kernel/sched.c

index 7cdca7b7757ec90d508c4d63b7703e441374edc3..813a5e55ddba7275cfb23aa1588860a7655f8dfe 100644 (file)
@@ -196,9 +196,7 @@ ENTRY(lcall27)
 
 ENTRY(ret_from_fork)
 #if CONFIG_SMP
-       pushl %ebx
        call SYMBOL_NAME(schedule_tail)
-       addl $4, %esp
 #endif
        GET_THREAD_INFO(%ebx)
        jmp syscall_exit
index f69287c1d0ff0a03a58fa0f20edfd77b91f00e3e..4124241f198896cf3bdc4ea484dd8c4149b630c6 100644 (file)
@@ -411,7 +411,7 @@ void sched_exit(task_t * p)
 }
 
 #if CONFIG_SMP
-asmlinkage void schedule_tail(task_t *prev)
+asmlinkage void schedule_tail(void)
 {
        spin_unlock_irq(&this_rq()->lock);
 }