xref: /linux/arch/loongarch/include/asm/fprobe.h (revision f49040c7aaa5532a1f94355ef5073c49e6b32349)
1*b5fa903bSMasami Hiramatsu (Google) /* SPDX-License-Identifier: GPL-2.0 */
2*b5fa903bSMasami Hiramatsu (Google) #ifndef _ASM_LOONGARCH_FPROBE_H
3*b5fa903bSMasami Hiramatsu (Google) #define _ASM_LOONGARCH_FPROBE_H
4*b5fa903bSMasami Hiramatsu (Google) 
5*b5fa903bSMasami Hiramatsu (Google) /*
6*b5fa903bSMasami Hiramatsu (Google)  * Explicitly undef ARCH_DEFINE_ENCODE_FPROBE_HEADER, because loongarch does not
7*b5fa903bSMasami Hiramatsu (Google)  * have enough number of fixed MSBs of the address of kernel objects for
8*b5fa903bSMasami Hiramatsu (Google)  * encoding the size of data in fprobe_header. Use 2-entries encoding instead.
9*b5fa903bSMasami Hiramatsu (Google)  */
10*b5fa903bSMasami Hiramatsu (Google) #undef ARCH_DEFINE_ENCODE_FPROBE_HEADER
11*b5fa903bSMasami Hiramatsu (Google) 
12*b5fa903bSMasami Hiramatsu (Google) #endif /* _ASM_LOONGARCH_FPROBE_H */
13