diff options
author | 2015-09-13 14:58:20 +0000 | |
---|---|---|
committer | 2015-09-13 14:58:20 +0000 | |
commit | 50c05db7e9e0551116ecfafbc7a4f63cb4f13f30 (patch) | |
tree | 452338a3bc3ce9188a81b50ecf9199638a2c2990 | |
parent | Rename the routines used for packing/unpacking rmtcall RPCs so they don't (diff) | |
download | wireguard-openbsd-50c05db7e9e0551116ecfafbc7a4f63cb4f13f30.tar.xz wireguard-openbsd-50c05db7e9e0551116ecfafbc7a4f63cb4f13f30.zip |
intr_barrier(9) for hppa.
-rw-r--r-- | sys/arch/hppa/hppa/intr.c | 8 | ||||
-rw-r--r-- | sys/arch/hppa/include/intr.h | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/intr.c b/sys/arch/hppa/hppa/intr.c index e39b519e21f..5739b92acbb 100644 --- a/sys/arch/hppa/hppa/intr.c +++ b/sys/arch/hppa/hppa/intr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.c,v 1.48 2015/09/08 07:14:04 deraadt Exp $ */ +/* $OpenBSD: intr.c,v 1.49 2015/09/13 14:58:20 kettenis Exp $ */ /* * Copyright (c) 2002-2004 Michael Shalayeff @@ -308,6 +308,12 @@ cpu_intr(void *v) mtctl(frame->tf_eiem, CR_EIEM); } +void +intr_barrier(void *cookie) +{ + sched_barrier(NULL); +} + void * softintr_establish(int pri, void (*handler)(void *), void *arg) { diff --git a/sys/arch/hppa/include/intr.h b/sys/arch/hppa/include/intr.h index 11ffb7023e1..340b52918e3 100644 --- a/sys/arch/hppa/include/intr.h +++ b/sys/arch/hppa/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.41 2015/02/11 01:55:40 dlg Exp $ */ +/* $OpenBSD: intr.h,v 1.42 2015/09/13 14:58:20 kettenis Exp $ */ /* * Copyright (c) 2002-2004 Michael Shalayeff @@ -87,6 +87,8 @@ void splassert_check(int, const char *); void cpu_intr_init(void); void cpu_intr(void *); +void intr_barrier(void *); + static __inline int spllower(int ncpl) { |