Module Name:    src
Committed By:   thorpej
Date:           Sat Aug 29 15:29:30 UTC 2020

Modified Files:
        src/sys/arch/alpha/alpha: interrupt.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/arch/alpha/alpha/interrupt.c

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/alpha/alpha/interrupt.c
diff -u src/sys/arch/alpha/alpha/interrupt.c:1.81 src/sys/arch/alpha/alpha/interrupt.c:1.82
--- src/sys/arch/alpha/alpha/interrupt.c:1.81	Sun Jan 17 10:44:57 2016
+++ src/sys/arch/alpha/alpha/interrupt.c	Sat Aug 29 15:29:30 2020
@@ -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 @@ const static uint8_t ipl2psl_table[] = {
 	[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,
 };
 

Reply via email to