summaryrefslogtreecommitdiffstats
path: root/kernel/arch/x86/boot/compressed/cpuflags.c
blob: aa313466118b2df8731475dfd93eec0d672bca9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifdef CONFIG_RANDOMIZE_BASE

#include "../cpuflags.c"

bool has_cpuflag(int flag)
{
	get_cpuflags();

	return test_bit(flag, cpu.flags);
}

#endif