summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2021-02-27 01:16:52 +0000
committerthorpej <thorpej@NetBSD.org>2021-02-27 01:16:52 +0000
commit1efadc9fec139bfba3045af94034ce680a25d171 (patch)
tree8cfa9fde62c0ed1823674dcf708d695053ed76ba /sys/arch/powerpc/include
parent77a65f26fce993cf4e5af1cd18fe590bcda77460 (diff)
Rather than putting it on the caller, just let oea_iobat_add() decide
whether to call mpc601_ioseg_add().
Diffstat (limited to 'sys/arch/powerpc/include')
-rw-r--r--sys/arch/powerpc/include/oea/sr_601.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/powerpc/include/oea/sr_601.h b/sys/arch/powerpc/include/oea/sr_601.h
index 140828cd9b7..837177fb8f1 100644
--- a/sys/arch/powerpc/include/oea/sr_601.h
+++ b/sys/arch/powerpc/include/oea/sr_601.h
@@ -1,4 +1,4 @@
-/* $NetBSD: sr_601.h,v 1.5 2008/04/28 20:23:32 martin Exp $ */
+/* $NetBSD: sr_601.h,v 1.6 2021/02/27 01:16:52 thorpej Exp $ */
/*-
* Copyright (c) 2002, 2004 The NetBSD Foundation, Inc.
@@ -64,8 +64,4 @@
#define SR601_PA_MATCH_P(sr, pa) \
(((sr) & SR601_PACKET1) == ((pa) >> ADDR_SR_SHFT))
-#ifdef _KERNEL
-void mpc601_ioseg_add(paddr_t, register_t);
-#endif
-
#endif /* !_POWERPC_OEA_SR_601_H_ */