diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2019-03-17 05:06:37 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2019-03-17 05:06:37 +0000 |
commit | 2e2016c8b3946d3f8e9553a13b1279644febad9c (patch) | |
tree | c5514c6dac1b397922f8f3324c7e65cfd22ee65f /sys/arch/loongson | |
parent | c2c92cda5724f77d8e7b77d707fe91d8fc0e6ce3 (diff) |
Move intr_barrier(9) to the platform level so that it can be customized.
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r-- | sys/arch/loongson/loongson/machdep.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/loongson/loongson/machdep.c b/sys/arch/loongson/loongson/machdep.c index 0d605aeae7b..f7074a8c817 100644 --- a/sys/arch/loongson/loongson/machdep.c +++ b/sys/arch/loongson/loongson/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.84 2019/01/19 20:45:06 tedu Exp $ */ +/* $OpenBSD: machdep.c,v 1.85 2019/03/17 05:06:36 visa Exp $ */ /* * Copyright (c) 2009, 2010, 2014 Miodrag Vallat. @@ -1259,6 +1259,12 @@ pmoncnputc(dev_t dev, int c) pmon_printf("%c", c); } +void +intr_barrier(void *cookie) +{ + sched_barrier(NULL); +} + #ifdef MULTIPROCESSOR void |