From: Adrian Bunk <bunk@stusta.de>

This patch makes a needlessly global struct static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Eric Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 include/linux/kexec.h |    1 -
 kernel/kexec.c        |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff -puN include/linux/kexec.h~kexec-kexec-generic-fix include/linux/kexec.h
--- 25/include/linux/kexec.h~kexec-kexec-generic-fix	2005-04-25 19:18:52.291666168 -0700
+++ 25-akpm/include/linux/kexec.h	2005-04-25 19:19:00.662393624 -0700
@@ -101,7 +101,6 @@ extern asmlinkage long compat_sys_kexec_
 extern struct page *kimage_alloc_control_pages(struct kimage *image, unsigned int order);
 extern void crash_kexec(void);
 extern struct kimage *kexec_image;
-extern struct kimage *kexec_crash_image;
 
 #define KEXEC_ON_CRASH  0x00000001
 #define KEXEC_ARCH_MASK 0xffff0000
diff -puN kernel/kexec.c~kexec-kexec-generic-fix kernel/kexec.c
--- 25/kernel/kexec.c~kexec-kexec-generic-fix	2005-04-25 19:18:52.296665408 -0700
+++ 25-akpm/kernel/kexec.c	2005-04-25 19:19:00.663393472 -0700
@@ -868,7 +868,7 @@ static int kimage_load_segment(struct ki
  * that to happen you need to do that yourself.
  */
 struct kimage *kexec_image = NULL;
-struct kimage *kexec_crash_image = NULL;
+static struct kimage *kexec_crash_image = NULL;
 /*
  * A home grown binary mutex.
  * Nothing can wait so this mutex is safe to use
_