hugetlb: introduce generic version of hugetlb_free_pgd_range
[linux/fpc-iii.git] / arch / x86 / boot / cpuflags.h
blob2e20814d3ce3e8d15e887bad15224e39646c100d
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef BOOT_CPUFLAGS_H
3 #define BOOT_CPUFLAGS_H
5 #include <asm/cpufeatures.h>
6 #include <asm/processor-flags.h>
8 struct cpu_features {
9 int level; /* Family, or 64 for x86-64 */
10 int family; /* Family, always */
11 int model;
12 u32 flags[NCAPINTS];
15 extern struct cpu_features cpu;
16 extern u32 cpu_vendor[3];
18 int has_eflag(unsigned long mask);
19 void get_cpuflags(void);
21 #endif