Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/alpha In ipl2psl_table[], use IPL_SCHED inste...



details:   https://anonhg.NetBSD.org/src/rev/403c318a92f2
branches:  trunk
changeset: 937973:403c318a92f2
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Aug 29 15:29:30 2020 +0000

description:
In ipl2psl_table[], use IPL_SCHED instead of IPL_CLOCK (the legacy name),
and add a comment noting that this is the level IPIs come in with on
alpha.

diffstat:

 sys/arch/alpha/alpha/interrupt.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r fff17699b6f9 -r 403c318a92f2 sys/arch/alpha/alpha/interrupt.c
--- a/sys/arch/alpha/alpha/interrupt.c  Sat Aug 29 15:25:57 2020 +0000
+++ b/sys/arch/alpha/alpha/interrupt.c  Sat Aug 29 15:29:30 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: interrupt.c,v 1.81 2016/01/17 10:44:57 martin Exp $ */
+/* $NetBSD: interrupt.c,v 1.82 2020/08/29 15:29:30 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.81 2016/01/17 10:44:57 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.82 2020/08/29 15:29:30 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -530,7 +530,7 @@
        [IPL_NONE] = ALPHA_PSL_IPL_0,
        [IPL_SOFTCLOCK] = ALPHA_PSL_IPL_SOFT,
        [IPL_VM] = ALPHA_PSL_IPL_IO,
-       [IPL_CLOCK] = ALPHA_PSL_IPL_CLOCK,
+       [IPL_SCHED] = ALPHA_PSL_IPL_CLOCK,      /* also IPIs */
        [IPL_HIGH] = ALPHA_PSL_IPL_HIGH,
 };
 



Home | Main Index | Thread Index | Old Index