cdd4e1a76c
Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2 lines
133 B
C
2 lines
133 B
C
#define __MMIO_P2V(x) (((x) & 0xfffff) | (((x) & 0x0f000000) >> 4) | 0xf8000000)
|
|
#define MMIO_P2V(x) ((void __iomem *)__MMIO_P2V(x))
|