aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/setup.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-12-21 14:26:09 +0100
committerJan Beulich <jbeulich@suse.com>2011-12-21 14:26:09 +0100
commit68471b6a19c21353c8c849d3205af690e3cf7e38 (patch)
tree117790fab6be2197cdab175c14ac5517175735fc /xen/arch/x86/setup.c
parent2a117bba4b2be20c585a0b0987e1f70594b4dc7a (diff)
downloadxen-68471b6a19c21353c8c849d3205af690e3cf7e38.tar.gz
xen-68471b6a19c21353c8c849d3205af690e3cf7e38.tar.bz2
xen-68471b6a19c21353c8c849d3205af690e3cf7e38.zip
x86: reduce scope of some symbols used with reset_stack_and_jump()
By making the macro properly advertise the use of the input symbol to the compiler, it is no longer necessary for them to be global if they're defined and used in just one source file. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/setup.c')
-rw-r--r--xen/arch/x86/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
index 32b20c28ef..ae236c94c3 100644
--- a/xen/arch/x86/setup.c
+++ b/xen/arch/x86/setup.c
@@ -508,7 +508,7 @@ static void __init kexec_reserve_area(struct e820map *e820)
}
}
-void init_done(void)
+static void noinline init_done(void)
{
/* Free (or page-protect) the init areas. */
memset(__init_begin, 0xcc, __init_end - __init_begin); /* int3 poison */