Index: i386/i386/genassym.c =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/genassym.c,v retrieving revision 1.152 diff -u -r1.152 genassym.c --- i386/i386/genassym.c 26 Dec 2005 00:07:19 -0000 1.152 +++ i386/i386/genassym.c 28 Dec 2005 06:32:24 -0000 @@ -140,7 +140,6 @@ ASSYM(PCB_SAVEFPU, offsetof(struct pcb, pcb_save)); ASSYM(PCB_SAVEFPU_SIZE, sizeof(union savefpu)); ASSYM(PCB_ONFAULT, offsetof(struct pcb, pcb_onfault)); -ASSYM(PCB_SWITCHOUT, offsetof(struct pcb, pcb_switchout)); ASSYM(PCB_SIZE, sizeof(struct pcb)); ASSYM(PCB_VM86CALL, PCB_VM86CALL); Index: i386/i386/swtch.s =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/swtch.s,v retrieving revision 1.150 diff -u -r1.150 swtch.s --- i386/i386/swtch.s 26 Dec 2005 00:07:19 -0000 1.150 +++ i386/i386/swtch.s 28 Dec 2005 06:32:25 -0000 @@ -114,12 +114,6 @@ movl %gs,PCB_GS(%edx) pushfl /* PSL */ popl PCB_PSL(%edx) - /* Check to see if we need to call a switchout function. */ - movl PCB_SWITCHOUT(%edx),%eax - cmpl $0, %eax - je 1f - call *%eax -1: /* Test if debug registers should be saved. */ testl $PCB_DBREGS,PCB_FLAGS(%edx) jz 1f /* no, skip over */ Index: i386/include/pcb.h =================================================================== RCS file: /home/ncvs/src/sys/i386/include/pcb.h,v retrieving revision 1.55 diff -u -r1.55 pcb.h --- i386/include/pcb.h 14 Apr 2005 04:13:27 -0000 1.55 +++ i386/include/pcb.h 28 Dec 2005 06:32:25 -0000 @@ -74,7 +74,6 @@ struct segment_descriptor pcb_gsd; struct pcb_ext *pcb_ext; /* optional pcb extension */ int pcb_psl; /* process status long */ - void (*pcb_switchout)(void); /* Special switchout function. */ u_long pcb_vm86[2]; /* vm86bios scratch space */ };