[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210421111759.2059976-3-schnelle@linux.ibm.com>
Date: Wed, 21 Apr 2021 13:17:58 +0200
From: Niklas Schnelle <schnelle@...ux.ibm.com>
To: Arnd Bergmann <arnd@...db.de>, Vineet Gupta <vgupta@...opsys.com>,
"David S. Miller" <davem@...emloft.net>
Cc: Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
clang-built-linux@...glegroups.com, linux-arch@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-s390@...r.kernel.org,
linux-snps-arc@...ts.infradead.org, sparclinux@...r.kernel.org
Subject: [PATCH v3 2/3] ARC: io.h: Include asm/bug.h
From: Niklas Schnelle <niklas@...ani.de>
In a future change asm-generic/io.h will make inb() and friends
WARN_ONCE() on systems without I/O port support. This requires
WARN_ONCE() from asm/bug.h to be included so include it in the
arch specific io.h as done by other architectures.
Signed-off-by: Niklas Schnelle <niklas@...ani.de>
---
arch/arc/include/asm/io.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arc/include/asm/io.h b/arch/arc/include/asm/io.h
index 8f777d6441a5..62ce2e486e29 100644
--- a/arch/arc/include/asm/io.h
+++ b/arch/arc/include/asm/io.h
@@ -8,6 +8,7 @@
#include <linux/types.h>
#include <asm/byteorder.h>
+#include <asm/bug.h>
#include <asm/page.h>
#include <asm/unaligned.h>
--
2.25.1
Powered by blists - more mailing lists