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