diff options
author | 2009-11-26 23:32:46 +0000 | |
---|---|---|
committer | 2009-11-26 23:32:46 +0000 | |
commit | 05dbc6e432356a2a035f775f72003df3f33f7085 (patch) | |
tree | 2ec7ae926e34743ff827ecf6536b3a525ce39d24 /sys/arch/sgi/include/intr.h | |
parent | Silence dhclient by immediately exiting if the interface doesn't exist (diff) | |
download | wireguard-openbsd-05dbc6e432356a2a035f775f72003df3f33f7085.tar.xz wireguard-openbsd-05dbc6e432356a2a035f775f72003df3f33f7085.zip |
Now IPI can interrupt to clock interrupt handler.
It prevents deadlock with TLB shootdown and clock interrupt.
ok miod@
Diffstat (limited to 'sys/arch/sgi/include/intr.h')
-rw-r--r-- | sys/arch/sgi/include/intr.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sgi/include/intr.h b/sys/arch/sgi/include/intr.h index 62cc4e7b4d7..07af62d0ad2 100644 --- a/sys/arch/sgi/include/intr.h +++ b/sys/arch/sgi/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.37 2009/11/25 17:39:51 syuu Exp $ */ +/* $OpenBSD: intr.h,v 1.38 2009/11/26 23:32:46 syuu Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -172,7 +172,8 @@ struct intrhand { */ /* Schedule priorities for base interrupts (CPU) */ -#define INTPRI_CLOCK 0 +#define INTPRI_IPI 0 +#define INTPRI_CLOCK 1 /* other values are system-specific */ #define NLOWINT 16 /* Number of low level registrations possible */ |