artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b8c7b2
)
Use "softintr_pic0" instead of "softintr_fakepic" when faking a
author
jsg
<jsg@openbsd.org>
Fri, 24 Apr 2015 02:22:08 +0000
(
02:22
+0000)
committer
jsg
<jsg@openbsd.org>
Fri, 24 Apr 2015 02:22:08 +0000
(
02:22
+0000)
struct device so there is enough space in the buffer for a NUL and
the unit is included in the string.
discussed with deraadt and millert
sys/arch/amd64/amd64/intr.c
patch
|
blob
|
history
diff --git
a/sys/arch/amd64/amd64/intr.c
b/sys/arch/amd64/amd64/intr.c
index
8143343
..
4e9410a
100644
(file)
--- a/
sys/arch/amd64/amd64/intr.c
+++ b/
sys/arch/amd64/amd64/intr.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: intr.c,v 1.4
1 2015/03/14 03:38:46
jsg Exp $ */
+/* $OpenBSD: intr.c,v 1.4
2 2015/04/24 02:22:08
jsg Exp $ */
/* $NetBSD: intr.c,v 1.3 2003/03/03 22:16:20 fvdl Exp $ */
/*
@@
-64,7
+64,7
@@
#endif
struct pic softintr_pic = {
- {0, {NULL}, NULL, 0, "softintr_
fakepic
", NULL, 0, 0},
+ {0, {NULL}, NULL, 0, "softintr_
pic0
", NULL, 0, 0},
PIC_SOFT,
#ifdef MULTIPROCESSOR
{},