/* Declare dependencies between CPUIDs */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/module.h> #include <asm/cpufeature.h> struct cpuid_dep { … }; /* * Table of CPUID features that depend on others. * * This only includes dependencies that can be usefully disabled, not * features part of the base set (like FPU). * * Note this all is not __init / __initdata because it can be * called from cpu hotplug. It shouldn't do anything in this case, * but it's difficult to tell that to the init reference checker. */ static const struct cpuid_dep cpuid_deps[] = …; static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) { … } /* Take the capabilities and the BUG bits into account */ #define MAX_FEATURE_BITS … static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) { … } void clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) { … } void setup_clear_cpu_cap(unsigned int feature) { … }