Module Name:    src
Committed By:   kalvisd
Date:           Tue Dec 19 00:29:48 UTC 2023

Modified Files:
        src/sys/arch/vax/include: cpu.h

Log Message:
vax: PR port-vax/55415

    Remove VAX-specific workaround to force pre-emption, as it is now
    no longer needed.

    tested by oster@


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/sys/arch/vax/include/cpu.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/vax/include/cpu.h
diff -u src/sys/arch/vax/include/cpu.h:1.107 src/sys/arch/vax/include/cpu.h:1.108
--- src/sys/arch/vax/include/cpu.h:1.107	Sun Sep 10 00:15:52 2023
+++ src/sys/arch/vax/include/cpu.h	Tue Dec 19 00:29:48 2023
@@ -1,4 +1,4 @@
-/*      $NetBSD: cpu.h,v 1.107 2023/09/10 00:15:52 oster Exp $      */
+/*      $NetBSD: cpu.h,v 1.108 2023/12/19 00:29:48 kalvisd Exp $      */
 
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden
@@ -156,15 +156,10 @@ extern int cpu_printfataltraps;
 #define	curcpu()		(curlwp->l_cpu + 0)
 #define	curlwp			((struct lwp *)mfpr(PR_SSP))
 #define	cpu_number()		(curcpu()->ci_cpuid)
-/* XXX RESCHED_REMOTE isn't the right flag name to be used here,
-but we need to set ci_want_resched to '1' to make things work 
-on vax.  See PR#55415 */
 #define	cpu_need_resched(ci, l, flags)		\
 	do {							\
 		struct pcb *pcb = lwp_getpcb(curlwp);		\
 		__USE(flags);					\
-		/* XXX RESCHED_REMOTE isn't the right flag */   \
-		(ci)->ci_want_resched = RESCHED_REMOTE;		\
 		pcb->P0LR = (pcb->P0LR & ~AST_MASK) | AST_ON;	\
 		mtpr(AST_OK,PR_ASTLVL);				\
 	} while (/*CONSTCOND*/ 0)

Reply via email to