diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-07-16 19:45:38 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-07-16 19:45:38 +0000 |
commit | 76e7bcab7fb02de269aba40d163175aafbb67705 (patch) | |
tree | e613c92bec45cef69f24d37bd82a7cb23a18ead3 /sys/arch | |
parent | 68a3951052bade14167eecafc5f315de4263edf0 (diff) |
Add support for BUS_INTR_ESTABLISH_MPSAFE.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc64/dev/cbus.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/cbus.c b/sys/arch/sparc64/dev/cbus.c index 09ce9a7fc1b..baed0994573 100644 --- a/sys/arch/sparc64/dev/cbus.c +++ b/sys/arch/sparc64/dev/cbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cbus.c,v 1.10 2012/11/23 21:55:43 kettenis Exp $ */ +/* $OpenBSD: cbus.c,v 1.11 2013/07/16 19:45:37 kettenis Exp $ */ /* * Copyright (c) 2008 Mark Kettenis * @@ -186,6 +186,9 @@ cbus_intr_establish(bus_space_tag_t t, bus_space_tag_t t0, int ihandle, return (NULL); } + if (flags & BUS_INTR_ESTABLISH_MPSAFE) + ih->ih_mpsafe = 1; + intr_establish(ih->ih_pil, ih); ih->ih_ack = cbus_intr_ack; |