summaryrefslogtreecommitdiff
path: root/arch/x86/boot/compressed/cpuflags.c
blob: 6448a8196d3298b0fb06f7a31d14dee6086f8978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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