[PATCH v2 2/4] asm-generic: partially sync io.h with linux kernel
Sascha Hauer
s.hauer at pengutronix.de
Mon Sep 4 01:01:26 PDT 2017
Hi Oleksij,
On Fri, Aug 18, 2017 at 03:57:05PM +0200, Oleksij Rempel wrote:
> Signed-off-by: Oleksij Rempel <linux at rempel-privat.de>
> ---
> include/asm-generic/io.h | 229 +++++++++++++++++++++++++++++++++++++++++------
> 1 file changed, 201 insertions(+), 28 deletions(-)
>
> diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h
> index 8d83d6806..a3192bae6 100644
> --- a/include/asm-generic/io.h
> +++ b/include/asm-generic/io.h
> @@ -69,50 +69,114 @@ static inline void __raw_writeq(u64 b, volatile void __iomem *addr)
> #endif
>
> #ifndef PCI_IOBASE
> -#define PCI_IOBASE ((void __iomem *) 0)
> +#define PCI_IOBASE ((void __iomem *)0)
> +#endif
> +
> +#ifndef IO_SPACE_LIMIT
> +#define IO_SPACE_LIMIT 0xffff
> #endif
When compiling imx_v7_defconfig this change results in tons of:
arch/arm/include/asm/io.h:6:0: warning: "IO_SPACE_LIMIT" redefined
#define IO_SPACE_LIMIT 0
^
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list