aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2018-12-10 08:08:28 +0000
committerMichael Ellerman <[email protected]>2018-12-17 11:12:30 +0000
commit10fdf838e5f540beca466e9d1325999c072e5d3f (patch)
tree1948dbd2251bccce91402a786be3353663c3c1cb /arch/powerpc/lib/code-patching.c
parentpowerpc/32: Move the old 6xx -mcpu logic before the TARGET_CPU logic (diff)
downloadkernel-10fdf838e5f540beca466e9d1325999c072e5d3f.tar.gz
kernel-10fdf838e5f540beca466e9d1325999c072e5d3f.zip
lib: fix build failure in CONFIG_DEBUG_VIRTUAL test
On several arches, virt_to_phys() is in io.h Build fails without it: CC lib/test_debug_virtual.o lib/test_debug_virtual.c: In function 'test_debug_virtual_init': lib/test_debug_virtual.c:26:7: error: implicit declaration of function 'virt_to_phys' [-Werror=implicit-function-declaration] pa = virt_to_phys(va); ^ Fixes: e4dace361552 ("lib: add test module for CONFIG_DEBUG_VIRTUAL") CC: [email protected] Signed-off-by: Christophe Leroy <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions