Restartable sequences: tests: introduce simple rseq start/finish
[deliverable/linux.git] / kernel / ksysfs.c
index 9f1920d2d0c6dfaa285039b02edcf9db2af3352f..ee1bc1bb8feb82f4873eb38106805c2823bed7b2 100644 (file)
@@ -101,7 +101,7 @@ KERNEL_ATTR_RO(kexec_loaded);
 static ssize_t kexec_crash_loaded_show(struct kobject *kobj,
                                       struct kobj_attribute *attr, char *buf)
 {
-       return sprintf(buf, "%d\n", !!kexec_crash_image);
+       return sprintf(buf, "%d\n", kexec_crash_loaded());
 }
 KERNEL_ATTR_RO(kexec_crash_loaded);
 
This page took 0.03123 seconds and 5 git commands to generate.