summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/ptdump.h
blob: f960b2896606a141bf2906cf3c9fc81481c7c322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0 */

#ifndef _ASM_S390_PTDUMP_H
#define _ASM_S390_PTDUMP_H

void ptdump_check_wx(void);

static inline void debug_checkwx(void)
{
	if (IS_ENABLED(CONFIG_DEBUG_WX))
		ptdump_check_wx();
}

#endif /* _ASM_S390_PTDUMP_H */