mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 09:01:34 +00:00
cdd4e1a76c
Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
3 lines
133 B
C
3 lines
133 B
C
#define __MMIO_P2V(x) (((x) & 0xfffff) | (((x) & 0x0f000000) >> 4) | 0xf8000000)
|
|
#define MMIO_P2V(x) ((void __iomem *)__MMIO_P2V(x))
|