secgateway/kernel/linux-4.14.83/arch/x86/boot/compressed/cpuflags.c

14 lines
184 B
C
Executable File

// SPDX-License-Identifier: GPL-2.0
#ifdef CONFIG_RANDOMIZE_BASE
#include "../cpuflags.c"
bool has_cpuflag(int flag)
{
get_cpuflags();
return test_bit(flag, cpu.flags);
}
#endif