diff options
author | 2014-01-24 09:36:23 +0000 | |
---|---|---|
committer | 2014-01-24 09:36:23 +0000 | |
commit | fa1bd43d4a33beb792c90cfe49b767a2c0bbd7e8 (patch) | |
tree | 449c4e033691cfa68d3db3816c0eee90b2560b9e | |
parent | re-lookup the policy as soon as we have the ID of the peer (destid) (diff) | |
download | wireguard-openbsd-fa1bd43d4a33beb792c90cfe49b767a2c0bbd7e8.tar.xz wireguard-openbsd-fa1bd43d4a33beb792c90cfe49b767a2c0bbd7e8.zip |
Add support for BUS_INTR_ESTABLISH_MPSAFE.
-rw-r--r-- | sys/arch/sparc64/dev/psycho.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/psycho.c b/sys/arch/sparc64/dev/psycho.c index 16410083d06..09e5bdef6cc 100644 --- a/sys/arch/sparc64/dev/psycho.c +++ b/sys/arch/sparc64/dev/psycho.c @@ -1,4 +1,4 @@ -/* $OpenBSD: psycho.c,v 1.69 2011/07/06 23:43:14 kettenis Exp $ */ +/* $OpenBSD: psycho.c,v 1.70 2014/01/24 09:36:23 kettenis Exp $ */ /* $NetBSD: psycho.c,v 1.39 2001/10/07 20:30:41 eeh Exp $ */ /* @@ -1280,6 +1280,9 @@ found: "\ninstalling handler %p arg %p with number %x pil %u", ih->ih_fun, ih->ih_arg, ih->ih_number, ih->ih_pil)); + if (flags & BUS_INTR_ESTABLISH_MPSAFE) + ih->ih_mpsafe = 1; + intr_establish(ih->ih_pil, ih); /* |