diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2017-07-28 14:51:47 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2017-07-28 14:51:47 +0000 |
commit | b3d2901aeab43e0ff7f9c84acf13029282b9ee99 (patch) | |
tree | 2b98228c5f33419c7f5915dcb3ba96f501195190 /sys/arch | |
parent | e7af9407b880baba3f358b7c6ba2861e275f9cde (diff) |
Add a workaround that allows the use of sys/dev/fdt code on octeon.
OK kettenis@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/octeon/include/intr.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/octeon/include/intr.h b/sys/arch/octeon/include/intr.h index 03a195e1ab3..f57fe06ea75 100644 --- a/sys/arch/octeon/include/intr.h +++ b/sys/arch/octeon/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.13 2017/07/25 03:46:59 visa Exp $ */ +/* $OpenBSD: intr.h,v 1.14 2017/07/28 14:51:46 visa Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -215,6 +215,10 @@ void *octeon_intr_establish_fdt_idx(int, int, int, int (*)(void *), void *, const char *); void octeon_intr_disestablish_fdt(void *); +/* XXX Needed by 'MI' code in sys/dev/fdt. */ +#define arm_intr_establish_fdt octeon_intr_establish_fdt +#define arm_intr_disestablish_fdt octeon_intr_disestablish_fdt + #endif /* _LOCORE */ #endif /* _MACHINE_INTR_H_ */ |