From: Jeff Moyer Date: Fri, 23 Jun 2006 09:05:07 +0000 (-0700) Subject: [PATCH] Add a sysfs file to determine if a kexec kernel is loaded X-Git-Tag: v2.6.18-rc1~1081^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c330dda908b5a46469a997eea90b66f2f9f02b34;p=pandora-kernel.git [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 Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed