Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1219117

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

From Catalin Marinas <catalin.marinas@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH] arm64: ioremap: change ioremap prototype and add ioremap_cache macro
Date 2015-09-04 17:30 +0200
Message-ID <q516c-61Z-43@gated-at.bofh.it> (permalink)
References <q20Jj-7q5-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] arm64: ioremap: change ioremap prototype and add ioremap_cache macro yalin wang <yalin.wang2010@gmail.com> - 2015-08-27 10:30 +0200
  Re: [PATCH] arm64: ioremap: change ioremap prototype and add  ioremap_cache macro Catalin Marinas <catalin.marinas@arm.com> - 2015-09-04 17:30 +0200

csiph-web