add generic fixmap.h
authorMark Salter <>
Thu, 23 Jan 2014 23:53:48 +0000 (15:53 -0800)
committerBo Yan <>
Thu, 26 Mar 2015 18:12:19 +0000 (11:12 -0700)
add generic fixmap.h

Many architectures provide an asm/fixmap.h which defines support for
compile-time 'special' virtual mappings which need to be made before
paging_init() has run.  This support is also used for early ioremap on
x86.  Much of this support is identical across the architectures.  This
patch consolidates all of the common bits into asm-generic/fixmap.h
which is intended to be included from arch/*/include/asm/fixmap.h.

Change-Id: Ie893201a7edc1651b28f780f4c9ae401aa749b71
Signed-off-by: Mark Salter <>
Acked-by: Arnd Bergmann <>
Acked-by: Ralf Baechle <>
Cc: Russell King <>
Cc: Richard Kuo <>
Cc: James Hogan <>
Cc: Michal Simek <>
Cc: Benjamin Herrenschmidt <>
Cc: Paul Mackerras <>
Cc: "H. Peter Anvin" <>
Cc: Chris Metcalf <>
Cc: Ingo Molnar <>
Cc: Jeff Dike <>
Cc: Paul Mundt <>
Cc: Richard Weinberger <>
Cc: Thomas Gleixner <>
Cc: Jonas Bonn <>
Signed-off-by: Andrew Morton <>
Signed-off-by: Linus Torvalds <>
Reviewed-on: http://git-master/r/722005
Tested-by: Bo Yan <>
Reviewed-by: Krishna Reddy <>
Reviewed-by: Bo Yan <>
include/asm-generic/fixmap.h [new file with mode: 0644]