summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/book3s
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-07-24 18:46:37 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2019-08-20 21:22:20 +1000
commit4dd7554a6456d124c85e0a4ad156625b71390b5c (patch)
tree0a1c0905841d0b8a6f19ff452b5ca46eb8890dab /arch/powerpc/include/asm/book3s
parent10c4bd7cd28e77aeb8cfa65b23cb3c632ede2a49 (diff)
powerpc/64: Add VIRTUAL_BUG_ON checks for __va and __pa addresses
Ensure __va is given a physical address below PAGE_OFFSET, and __pa is given a virtual address above PAGE_OFFSET. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20190724084638.24982-4-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/include/asm/book3s')
0 files changed, 0 insertions, 0 deletions