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