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

14 lines
184 B
C
Raw Normal View History

2019-06-11 07:43:23 +00:00
// 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