]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/cpu.h
Merge remote-tracking branch 'devicetree/devicetree/next'
[karo-tx-linux.git] / include / linux / cpu.h
index 3434ef7de017de0d5a33e7dd5dbfb173678c58c0..03e235ad1bba31bf4ba7fe155d9d64566179866c 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/cpumask.h>
 
 struct device;
+struct device_node;
 
 struct cpu {
        int node_id;            /* The node which contains the CPU */
@@ -29,6 +30,8 @@ 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);