diff options
author | Heiko Carstens <[email protected]> | 2020-09-15 12:52:36 +0200 |
---|---|---|
committer | Vasily Gorbik <[email protected]> | 2020-09-16 14:08:47 +0200 |
commit | 48111b4838480d1357783f4231c351bb2ba2d27d (patch) | |
tree | 198b9f8fdd8fbe47f225a523254b533f80f92b2e /include/linux/fpga/fpga-bridge.h | |
parent | 980d5f9ab36b6cfe473a8371a7e11bd168c9e630 (diff) |
s390/mm,ptdump: add proper ifdefs
Use ifdefs instead of IS_ENABLED() to avoid compile error
for !PTDUMP_DEBUGFS:
arch/s390/mm/dump_pagetables.c: In function ‘pt_dump_init’:
arch/s390/mm/dump_pagetables.c:248:64: error: ‘ptdump_fops’ undeclared (first use in this function); did you mean ‘pidfd_fops’?
debugfs_create_file("kernel_page_tables", 0400, NULL, NULL, &ptdump_fops);
Reported-by: Julian Wiedmann <[email protected]>
Fixes: 08c8e685c7c9 ("s390: add ARCH_HAS_DEBUG_WX support")
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions