From: kaf24@firebug.cl.cam.ac.uk Date: Mon, 1 May 2006 16:41:02 +0000 (+0100) Subject: A few functions should be static in shutdown.c. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16108^2~35 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d305c9af08dae31129c4025d51a0879a36424fcc;p=xen.git A few functions should be static in shutdown.c. Signed-off-by: Keir Fraser --- 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();