Re: [PATCH] arm64: ioremap: change ioremap prototype and add ioremap_cache macro

From: Catalin Marinas
Date: Fri Sep 04 2015 - 11:27:57 EST

On Thu, Aug 27, 2015 at 04:21:00PM +0800, yalin wang wrote:
> This patch change ioremap_*() first parameter type to resource_size_t to
> be the same as other platforms, and add ioremap_cache macro,
> because some code will test if this macro is defined or not, and
> will generate a generric version if not defined, for example,
> memremap.c do like this.

It seems that asm-generic/io.h uses phys_addr_t (which makes more sense
to me, though they are practically the same).

> +#define ioremap_cache ioremap_cache

This makes sense.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at