--- zzzz-none-000/linux-3.10.107/include/linux/cpu.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/include/linux/cpu.h 2021-11-10 11:53:56.000000000 +0000 @@ -19,6 +19,7 @@ #include struct device; +struct device_node; struct cpu { int node_id; /* The node which contains the CPU */ @@ -29,6 +30,9 @@ extern int register_cpu(struct cpu *cpu, int num); extern struct device *get_cpu_device(unsigned cpu); extern bool cpu_is_hotpluggable(unsigned cpu); +extern bool arch_match_cpu_phys_id(int cpu, u64 phys_id); +extern bool arch_find_n_match_cpu_physical_id(struct device_node *cpun, + int cpu, unsigned int *thread); extern int cpu_add_dev_attr(struct device_attribute *attr); extern void cpu_remove_dev_attr(struct device_attribute *attr); @@ -130,7 +134,7 @@ return 0; } -static inline void unregister_cpu_notifier(struct notifier_block *nb) +static inline void unregister_cpu_notifier(struct notifier_block *nb __maybe_unused) { } #endif