public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
	linux-kernel@vger.kernel.org
Subject: [-mm patch] kernel/kexec.c: make kexec_crash_image static
Date: Fri, 15 Apr 2005 17:10:37 +0200	[thread overview]
Message-ID: <20050415151037.GH5456@stusta.de> (raw)

This patch makes a needlessly global struct static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Eric Biederman <ebiederm@xmission.com>

---

This patch was already sent on:
- 3 Mar 2005

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

--- linux-2.6.11-rc5-mm1-full/include/linux/kexec.h.old	2005-03-03 16:34:17.000000000 +0100
+++ linux-2.6.11-rc5-mm1-full/include/linux/kexec.h	2005-03-03 16:34:29.000000000 +0100
@@ -101,7 +101,6 @@
 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
--- linux-2.6.11-rc5-mm1-full/kernel/kexec.c.old	2005-03-03 16:34:36.000000000 +0100
+++ linux-2.6.11-rc5-mm1-full/kernel/kexec.c	2005-03-03 16:36:10.000000000 +0100
@@ -868,7 +868,7 @@
  * 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


             reply	other threads:[~2005-04-15 15:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-15 15:10 Adrian Bunk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-03-03 21:42 [-mm patch] kernel/kexec.c: make kexec_crash_image static Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050415151037.GH5456@stusta.de \
    --to=bunk@stusta.de \
    --cc=akpm@osdl.org \
    --cc=ebiederm@xmission.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox