Messages in this thread | | | Date | Fri, 6 Oct 2023 10:05:28 +0200 | From | Thomas Bogendoerfer <> | Subject | Re: [PATCH v5 2/4] mips: add <asm-generic/io.h> including |
| |
On Thu, Sep 21, 2023 at 07:04:22PM +0800, Baoquan He wrote: > From: Jiaxun Yang <jiaxun.yang@flygoat.com> > > 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> > 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 > --- > arch/mips/include/asm/io.h | 96 +++++++++++++++++++++++---------- > arch/mips/include/asm/mmiowb.h | 4 +- > arch/mips/include/asm/smp-ops.h | 2 - > arch/mips/include/asm/smp.h | 4 +- > arch/mips/kernel/setup.c | 1 + > arch/mips/pci/pci-ip27.c | 3 ++ > 6 files changed, 75 insertions(+), 35 deletions(-)
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
-- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]
| |