aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/shutdown.c
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-05-01 17:41:02 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-05-01 17:41:02 +0100
commitd305c9af08dae31129c4025d51a0879a36424fcc (patch)
treef7d77cbde4bb57dc96a52754e9d613af1cc7fe23 /xen/arch/x86/shutdown.c
parent095470c7874e0fa88e1ab664257ce01c76984e3b (diff)
downloadxen-d305c9af08dae31129c4025d51a0879a36424fcc.tar.gz
xen-d305c9af08dae31129c4025d51a0879a36424fcc.tar.bz2
xen-d305c9af08dae31129c4025d51a0879a36424fcc.zip
A few functions should be static in shutdown.c.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/shutdown.c')
-rw-r--r--xen/arch/x86/shutdown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/shutdown.c b/xen/arch/x86/shutdown.c
index bf9015280a..45085d203d 100644
--- a/xen/arch/x86/shutdown.c
+++ b/xen/arch/x86/shutdown.c
@@ -41,7 +41,7 @@ static inline void kb_wait(void)
break;
}
-void __attribute__((noreturn)) __machine_halt(void *unused)
+static void __machine_halt(void *unused) __attribute__((noreturn))
{
for ( ; ; )
__asm__ __volatile__ ( "hlt" );
@@ -127,7 +127,7 @@ static const unsigned char jump_to_bios [] =
* specified by the code and length parameters.
* We assume that length will aways be less that MAX_LENGTH!
*/
-void machine_real_restart(const unsigned char *code, unsigned length)
+static void machine_real_restart(const unsigned char *code, unsigned length)
{
local_irq_disable();