]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/cpu.h
sysfs/cpu: Add vulnerability folder
[mirror_ubuntu-artful-kernel.git] / include / linux / cpu.h
index ca73bc1563f4e131884e151ddd65dce24978c96d..85f04d0fb18a9ee363f01233274dab573c368a75 100644 (file)
@@ -46,6 +46,13 @@ extern void cpu_remove_dev_attr(struct device_attribute *attr);
 extern int cpu_add_dev_attr_group(struct attribute_group *attrs);
 extern void cpu_remove_dev_attr_group(struct attribute_group *attrs);
 
+extern ssize_t cpu_show_meltdown(struct device *dev,
+                                struct device_attribute *attr, char *buf);
+extern ssize_t cpu_show_spectre_v1(struct device *dev,
+                                  struct device_attribute *attr, char *buf);
+extern ssize_t cpu_show_spectre_v2(struct device *dev,
+                                  struct device_attribute *attr, char *buf);
+
 extern __printf(4, 5)
 struct device *cpu_device_create(struct device *parent, void *drvdata,
                                 const struct attribute_group **groups,