diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-12-10 08:08:28 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-12-17 22:12:30 +1100 |
commit | 10fdf838e5f540beca466e9d1325999c072e5d3f (patch) | |
tree | 1948dbd2251bccce91402a786be3353663c3c1cb /fs/ufs | |
parent | ebd1d3b74f8542a8f3bb80b453692d6d18f84071 (diff) |
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: stable@vger.kernel.org
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'fs/ufs')
0 files changed, 0 insertions, 0 deletions