xref: /linux/arch/x86/boot/compressed/cpuflags.c (revision 76b5a6e8427159ad2b3b8764ebd6f3f5213be97e)
1 // SPDX-License-Identifier: GPL-2.0
2 #ifdef CONFIG_RANDOMIZE_BASE
3 
4 #include "../cpuflags.c"
5 
6 bool has_cpuflag(int flag)
7 {
8 	get_cpuflags();
9 
10 	return test_bit(flag, cpu.flags);
11 }
12 
13 #endif
14