diff options
author | Stefan Fritsch <sf@cvs.openbsd.org> | 2015-07-19 18:53:50 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@cvs.openbsd.org> | 2015-07-19 18:53:50 +0000 |
commit | 051e439dcf12e6e5dcbafb2bd7e1d38b4211ea7c (patch) | |
tree | 66770e358cdc5795740196c8dbd78bf4dc44a413 /sys/arch | |
parent | ddf2b01c914e4809c0e318339578f56d1db80c81 (diff) |
Make i386_send_ipi() return void
Nobody uses its return value.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/i386/ipifuncs.c | 8 | ||||
-rw-r--r-- | sys/arch/i386/include/intr.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/i386/i386/ipifuncs.c b/sys/arch/i386/i386/ipifuncs.c index c282e3eb29f..b313879b852 100644 --- a/sys/arch/i386/i386/ipifuncs.c +++ b/sys/arch/i386/i386/ipifuncs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipifuncs.c,v 1.26 2015/07/18 19:21:03 sf Exp $ */ +/* $OpenBSD: ipifuncs.c,v 1.27 2015/07/19 18:53:49 sf Exp $ */ /* $NetBSD: ipifuncs.c,v 1.1.2.3 2000/06/26 02:04:06 sommerfeld Exp $ */ /*- @@ -144,18 +144,18 @@ i386_spurious(void) printf("spurious intr\n"); } -int +void i386_send_ipi(struct cpu_info *ci, int ipimask) { i386_atomic_setbits_l(&ci->ci_ipis, ipimask); /* Don't send IPI to cpu which isn't (yet) running. */ if (!(ci->ci_flags & CPUF_RUNNING)) - return ENOENT; + return; i386_ipi(LAPIC_IPI_VECTOR, ci->ci_apicid, LAPIC_DLMODE_FIXED); - return 0; + return; } int diff --git a/sys/arch/i386/include/intr.h b/sys/arch/i386/include/intr.h index 491312da63a..454f80eb702 100644 --- a/sys/arch/i386/include/intr.h +++ b/sys/arch/i386/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.45 2015/07/16 05:10:14 guenther Exp $ */ +/* $OpenBSD: intr.h,v 1.46 2015/07/19 18:53:49 sf Exp $ */ /* $NetBSD: intr.h,v 1.5 1996/05/13 06:11:28 mycroft Exp $ */ /* @@ -131,7 +131,7 @@ void splassert_check(int, const char *); struct cpu_info; #ifdef MULTIPROCESSOR -int i386_send_ipi(struct cpu_info *, int); +void i386_send_ipi(struct cpu_info *, int); int i386_fast_ipi(struct cpu_info *, int); void i386_broadcast_ipi(int); void i386_ipi_handler(void); |