Module Name: src Committed By: martin Date: Tue Dec 19 12:28:01 UTC 2023
Modified Files: src/sys/arch/vax/include [netbsd-10]: cpu.h Log Message: Pull up following revision(s) (requested by kalvisd in ticket #509): sys/arch/vax/include/cpu.h: revision 1.108 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.106.2.1 -r1.106.2.2 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.106.2.1 src/sys/arch/vax/include/cpu.h:1.106.2.2 --- src/sys/arch/vax/include/cpu.h:1.106.2.1 Mon Sep 11 13:42:08 2023 +++ src/sys/arch/vax/include/cpu.h Tue Dec 19 12:28:01 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.h,v 1.106.2.1 2023/09/11 13:42:08 martin Exp $ */ +/* $NetBSD: cpu.h,v 1.106.2.2 2023/12/19 12:28:01 martin 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)