]> git.baikalelectronics.ru Git - kernel.git/commit
ia64: split off early_ioremap() declarations into asm/early_ioremap.h
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 12 Jan 2016 13:22:45 +0000 (14:22 +0100)
committerTony Luck <tony.luck@intel.com>
Wed, 13 Jan 2016 18:35:14 +0000 (10:35 -0800)
commit38c3ac894d9805a0e21f0e389526d0079260be86
treedcc000dd9585a59f2b8b48c41e3c5b35062421c8
parentc7f4cf4a5e678c4405ec2a61d67747fd36618dc4
ia64: split off early_ioremap() declarations into asm/early_ioremap.h

Unlike x86, arm64 and ARM, ia64 does not declare its implementations
of early_ioremap/early_iounmap/early_memremap/early_memunmap in a header
file called <asm/early_ioremap.h>

This complicates the use of these functions in generic code, since the
header cannot be included directly, and we have to rely on transitive
includes, which is fragile.

So create a <asm/early_ioremap.h> for ia64, and move the existing
definitions into it.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/early_ioremap.h [new file with mode: 0644]
arch/ia64/include/asm/io.h