[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150904152748.GB23159@e104818-lin.cambridge.arm.com>
Date: Fri, 4 Sep 2015 16:27:48 +0100
From: Catalin Marinas <catalin.marinas@....com>
To: yalin wang <yalin.wang2010@...il.com>
Cc: will.deacon@....com, Liviu.Dudau@....com, treding@...dia.com,
mark.rutland@....com, toshi.kani@...com, andre.przywara@....com,
orca.chen@...il.com, michal.simek@...inx.com,
steve.capper@...aro.org, keescook@...omium.org,
lauraa@...eaurora.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm64: ioremap: change ioremap prototype and add
ioremap_cache macro
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.
--
Catalin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists