]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - include/linux/cpu.h
driver-core/cpu: Expose hotpluggability to the rest of the kernel
[mirror_ubuntu-focal-kernel.git] / include / linux / cpu.h
index 6cb60fd2ea8454f4dad52cb4c32cd62a3301072f..305c263021e7e6ae701c61b47ec2bbba0136aeec 100644 (file)
@@ -27,6 +27,7 @@ struct cpu {
 
 extern int register_cpu(struct cpu *cpu, int num);
 extern struct sys_device *get_cpu_sysdev(unsigned cpu);
+extern bool cpu_is_hotpluggable(unsigned cpu);
 
 extern int cpu_add_sysdev_attr(struct sysdev_attribute *attr);
 extern void cpu_remove_sysdev_attr(struct sysdev_attribute *attr);