diff options
author | Mark Salter <[email protected]> | 2014-04-07 15:39:48 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-04-07 16:36:15 -0700 |
commit | 9e5c33d7aeeef62e5fa7e74f94432685bd03026b (patch) | |
tree | ff62a742103d422f2c74c192af434a0023324c0e /lib/memory-notifier-error-inject.c | |
parent | 6b550f6f2004017f1b4633d2c9e39b610bfe84f0 (diff) |
mm: create generic early_ioremap() support
This patch creates a generic implementation of early_ioremap() support
based on the existing x86 implementation. early_ioremp() is useful for
early boot code which needs to temporarily map I/O or memory regions
before normal mapping functions such as ioremap() are available.
Some architectures have optional MMU. In the no-MMU case, the remap
functions simply return the passed in physical address and the unmap
functions do nothing.
Signed-off-by: Mark Salter <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Acked-by: H. Peter Anvin <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Young <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions