mips: add <asm-generic/io.h> including
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Thu, 21 Sep 2023 11:04:22 +0000 (19:04 +0800)
committerArnd Bergmann <arnd@arndb.de>
Thu, 23 Nov 2023 09:32:52 +0000 (10:32 +0100)
commit4bfb53e7d317c01f296b2feb2fae7c421c1d52dc
treee6ad32a53f1752938118bbeef3cf951252acdb90
parentb85ea95d086471afb4ad062012a4d73cd328fa86
mips: add <asm-generic/io.h> including

With the adding, some default ioremap_xx methods defined in
asm-generic/io.h can be used. E.g the default ioremap_uc() returning
NULL.

We also massaged various headers to avoid nested includes.

Signed-off-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
[jiaxun.yang@flygoat.com: Massage more headers, fix ioport defines]
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-arch@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/mips/include/asm/io.h
arch/mips/include/asm/mmiowb.h
arch/mips/include/asm/smp-ops.h
arch/mips/include/asm/smp.h
arch/mips/kernel/setup.c
arch/mips/pci/pci-ip27.c