From: Kenn H. <ke...@us...> - 2002-12-01 23:56:29
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax In directory sc8-pr-cvs1:/tmp/cvs-serv6948 Modified Files: system.h Log Message: switch_to() no longer needs to return the last task Index: system.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/system.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- system.h 20 May 2002 00:33:39 -0000 1.3 +++ system.h 1 Dec 2002 23:56:26 -0000 1.4 @@ -35,17 +35,7 @@ struct task_struct; /* one of the stranger aspects of C forward declarations.. */ - -#define switch_to(prev,next,last) \ -do { \ - if ((prev) == (next)) { \ - (last) = (prev); \ - } else { \ - (last) = vax_switch_to((prev), (next)); \ - } \ -} while (0) - -extern struct task_struct* vax_switch_to(struct task_struct*, struct task_struct*); +extern void switch_to(struct task_struct*, struct task_struct*); /* mb is the alpha instruction to cause serialisation of memory operations. According to a software note in section 5.5.4 of |