xref: /aosp_15_r20/external/ltp/include/lapi/arch_prctl.h (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Copyright (c) 2024 Cyril Hrubis <[email protected]>
4  */
5 #ifndef LAPI_ARCH_PRCTL_H__
6 #define LAPI_ARCH_PRCTL_H__
7 
8 #include "config.h"
9 
10 #ifdef HAVE_ASM_PRCTL_H
11 # include <asm/prctl.h>
12 #endif
13 
14 #ifndef ARCH_GET_CPUID
15 # define ARCH_GET_CPUID 0x1011
16 #endif
17 
18 #ifndef ARCH_SET_CPUID
19 # define ARCH_SET_CPUID 0x1012
20 #endif
21 
22 #endif /* LAPI_ARCH_PRCTL_H__ */
23