summaryrefslogtreecommitdiff
path: root/arch/x86/boot/compressed/cpuflags.c
blob: 0cc1323896d19124475f817f574dd6810c4307bb (plain)
1
2
3
4
5
6
7
8
9
// SPDX-License-Identifier: GPL-2.0
#include "../cpuflags.c"

bool has_cpuflag(int flag)
{
	get_cpuflags();

	return test_bit(flag, cpu.flags);
}