From: Kenn H. <ke...@us...> - 2003-08-23 00:20:50
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax In directory sc8-pr-cvs1:/tmp/cvs-serv13334/include/asm-vax Modified Files: system.h Log Message: Scheduler changes in 2.5.63 mean that we need to return the 'prev' pointer properly after context switching. We also need a separate path for newly-created processes (ret_from_fork, rather than ret_from_syscall, and we've probably needed this for a long time). Also NR_syscalls disappears in 2.5.63 Index: system.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/system.h,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- system.h 22 Jul 2003 01:27:28 -0000 1.14 +++ system.h 23 Aug 2003 00:20:47 -0000 1.15 @@ -35,8 +35,8 @@ /* This macro wrapper around switch_to() means that the compiler doesn't need to push the unused 3rd argument on the stack */ -extern void __switch_to(struct task_struct*, struct task_struct*); -#define switch_to(prev, next, last) __switch_to((prev), (next)) +struct task_struct *__switch_to(struct task_struct*, struct task_struct*); +#define switch_to(prev, next, last) (last) = __switch_to((prev), (next)) /* * Atomic compare and exchange. Compare OLD with MEM, if identical, |