Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / arch / riscv / include / asm / ptdump.h
blob3c9ea6dd5af7eb94bd96287264880d5b12b950ae
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2019 SiFive
4 */
6 #ifndef _ASM_RISCV_PTDUMP_H
7 #define _ASM_RISCV_PTDUMP_H
9 void ptdump_check_wx(void);
11 #ifdef CONFIG_DEBUG_WX
12 static inline void debug_checkwx(void)
14 ptdump_check_wx();
16 #else
17 static inline void debug_checkwx(void)
20 #endif
22 #endif /* _ASM_RISCV_PTDUMP_H */