|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [XEN] Kexec: Make some variables static.
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
# Date 1168362929 0
# Node ID f653919e069aa3c56fe545eba5084d9ec78c0a24
# Parent 91b9c6eae6e8cbd639b04588dbf48f70673c6729
[XEN] Kexec: Make some variables static.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
---
xen/common/kexec.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff -r 91b9c6eae6e8 -r f653919e069a xen/common/kexec.c
--- a/xen/common/kexec.c Tue Jan 09 17:15:28 2007 +0000
+++ b/xen/common/kexec.c Tue Jan 09 17:15:29 2007 +0000
@@ -31,21 +31,21 @@ typedef long ret_t;
#define ELFNOTE_DESC(_n_) (ELFNOTE_NAME(_n_) + ELFNOTE_ALIGN((_n_)->namesz))
#define ELFNOTE_NEXT(_n_) (ELFNOTE_DESC(_n_) + ELFNOTE_ALIGN((_n_)->descsz))
-DEFINE_PER_CPU(void *, crash_notes);
-
-Elf_Note *xen_crash_note;
-
-cpumask_t crash_saved_cpus;
-
-xen_kexec_image_t kexec_image[KEXEC_IMAGE_NR];
+static DEFINE_PER_CPU(void *, crash_notes);
+
+static Elf_Note *xen_crash_note;
+
+static cpumask_t crash_saved_cpus;
+
+static xen_kexec_image_t kexec_image[KEXEC_IMAGE_NR];
#define KEXEC_FLAG_DEFAULT_POS (KEXEC_IMAGE_NR + 0)
#define KEXEC_FLAG_CRASH_POS (KEXEC_IMAGE_NR + 1)
#define KEXEC_FLAG_IN_PROGRESS (KEXEC_IMAGE_NR + 2)
-unsigned long kexec_flags = 0; /* the lowest bits are for KEXEC_IMAGE... */
-
-spinlock_t kexec_lock = SPIN_LOCK_UNLOCKED;
+static unsigned long kexec_flags = 0; /* the lowest bits are for
KEXEC_IMAGE... */
+
+static spinlock_t kexec_lock = SPIN_LOCK_UNLOCKED;
xen_kexec_reserve_t kexec_crash_area;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [XEN] Kexec: Make some variables static.,
Xen patchbot-unstable <=
|
|
|
|
|