lkml.org 
[lkml]   [2023]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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 ]

\
 
 \ /
  Last update: 2023-10-06 10:25    [W:0.165 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site