summaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorJeff Moyer2006-06-23 11:05:07 +0200
committerLinus Torvalds2006-06-23 16:43:02 +0200
commitc330dda908b5a46469a997eea90b66f2f9f02b34 (patch)
treeaad52aa4e127c366ca185c2122650d7dbb3437a0 /mm/swapfile.c
parent[PATCH] s390_hypfs filesystem (diff)
downloadkernel-qcow2-linux-c330dda908b5a46469a997eea90b66f2f9f02b34.tar.gz
kernel-qcow2-linux-c330dda908b5a46469a997eea90b66f2f9f02b34.tar.xz
kernel-qcow2-linux-c330dda908b5a46469a997eea90b66f2f9f02b34.zip
[PATCH] Add a sysfs file to determine if a kexec kernel is loaded
Create two files in /sys/kernel, kexec_loaded and kexec_crash_loaded. Each file contains a simple boolean value indicating whether the relevant kernel has been loaded into memory. The motivation for this is geared around support. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions