summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/mte.h
blob: a0bf310da74b426c62333293b537bdb0611823a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2020 ARM Ltd.
 */
#ifndef __ASM_MTE_H
#define __ASM_MTE_H

#ifndef __ASSEMBLY__

#ifdef CONFIG_ARM64_MTE

void flush_mte_state(void);

#else

static inline void flush_mte_state(void)
{
}

#endif

#endif /* __ASSEMBLY__ */
#endif /* __ASM_MTE_H  */