From 13c4abf4ad692f200408de2f4faf5d4b78f546cf Mon Sep 17 00:00:00 2001 From: Stefan Kalkowski Date: Mon, 7 Mar 2022 15:29:32 +0100 Subject: [PATCH] lx_emul: add static_cpu_has macro to shadow header Ref #4397 --- .../src/include/spec/x86/lx_emul/shadow/asm/cpufeature.h | 1 + 1 file changed, 1 insertion(+) diff --git a/repos/dde_linux/src/include/spec/x86/lx_emul/shadow/asm/cpufeature.h b/repos/dde_linux/src/include/spec/x86/lx_emul/shadow/asm/cpufeature.h index 34ccf560ed..e20505fc4f 100644 --- a/repos/dde_linux/src/include/spec/x86/lx_emul/shadow/asm/cpufeature.h +++ b/repos/dde_linux/src/include/spec/x86/lx_emul/shadow/asm/cpufeature.h @@ -8,5 +8,6 @@ #define _ASM__CPUFEATURE_H_ #define boot_cpu_has(bit) 0 +#define static_cpu_has(bit) boot_cpu_has(bit) #endif