Home
last modified time | relevance | path

Searched hist:"48111 b4838480d1357783f4231c351bb2ba2d27d" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/s390/mm/
H A Ddump_pagetables.cdiff 48111b4838480d1357783f4231c351bb2ba2d27d Tue Sep 15 12:52:36 CEST 2020 Heiko Carstens <hca@linux.ibm.com> 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 <jwi@linux.ibm.com>
Fixes: 08c8e685c7c9 ("s390: add ARCH_HAS_DEBUG_WX support")
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>