]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 3070/2: Add __ioremap_pfn() API
authorDeepak Saxena <dsaxena@plexity.net>
Mon, 9 Jan 2006 19:23:11 +0000 (19:23 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 9 Jan 2006 19:23:11 +0000 (19:23 +0000)
commit28728d2ff4158e629f99dff1b57716803829b7c6
treebf6f09189541ac964365c68362e9915c48510eb5
parent70b6888f9cfafa4eac947bee94f8499e79544c27
[ARM] 3070/2: Add __ioremap_pfn() API

Patch from Deepak Saxena

In working on adding 36-bit addressed supersection support to ioremap(),
I came to the conclusion that it would be far simpler to do so by just
splitting __ioremap() into a main external interface and adding an
__ioremap_pfn() function that takes a pfn + offset into the page that
__ioremap() can call. This way existing callers of __ioremap() won't have
to change their code and 36-bit systems will just call __ioremap_pfn()
and we will not have to deal with unsigned long long variables.

Note that __ioremap_pfn() should _NOT_ be called directly by drivers
but is reserved for use by arch_ioremap() implementations that map
32-bit resource regions into the real 36-bit address and then call
this new function.

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/ioremap.c
include/asm-arm/io.h
include/asm-arm/mach/map.h
include/asm-arm/memory.h