]> err.no Git - linux-2.6/blobdiff - kernel/kexec.c
powerpc: add defconfig for Freescale MPC8349E-mITX board
[linux-2.6] / kernel / kexec.c
index bf39d28e4c0e7b44313124d84681f012ca193713..58f0f382597cf4416e475c63c2fa3736462de7f2 100644 (file)
@@ -902,14 +902,14 @@ static int kimage_load_segment(struct kimage *image,
  * kexec does not sync, or unmount filesystems so if you need
  * that to happen you need to do that yourself.
  */
-struct kimage *kexec_image = NULL;
-static struct kimage *kexec_crash_image = NULL;
+struct kimage *kexec_image;
+struct kimage *kexec_crash_image;
 /*
  * A home grown binary mutex.
  * Nothing can wait so this mutex is safe to use
  * in interrupt context :)
  */
-static int kexec_lock = 0;
+static int kexec_lock;
 
 asmlinkage long sys_kexec_load(unsigned long entry, unsigned long nr_segments,
                                struct kexec_segment __user *segments,