mirror of https://gitee.com/openkylin/linux.git
13 lines
145 B
C
13 lines
145 B
C
|
#ifdef CONFIG_RANDOMIZE_BASE
|
||
|
|
||
|
#include "../cpuflags.c"
|
||
|
|
||
|
bool has_cpuflag(int flag)
|
||
|
{
|
||
|
get_flags();
|
||
|
|
||
|
return test_bit(flag, cpu.flags);
|
||
|
}
|
||
|
|
||
|
#endif
|