ia64/xen-unstable

changeset 9909:d7c99adf8a35

A few functions should be static in shutdown.c.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon May 01 17:41:02 2006 +0100 (2006-05-01)
parents da48960db8d2
children dc3c59367403
files xen/arch/x86/shutdown.c
line diff
     1.1 --- a/xen/arch/x86/shutdown.c	Mon May 01 17:02:43 2006 +0100
     1.2 +++ b/xen/arch/x86/shutdown.c	Mon May 01 17:41:02 2006 +0100
     1.3 @@ -41,7 +41,7 @@ static inline void kb_wait(void)
     1.4              break;
     1.5  }
     1.6  
     1.7 -void __attribute__((noreturn)) __machine_halt(void *unused)
     1.8 +static void __machine_halt(void *unused) __attribute__((noreturn))
     1.9  {
    1.10      for ( ; ; )
    1.11          __asm__ __volatile__ ( "hlt" );
    1.12 @@ -127,7 +127,7 @@ static const unsigned char jump_to_bios 
    1.13   * specified by the code and length parameters.
    1.14   * We assume that length will aways be less that MAX_LENGTH!
    1.15   */
    1.16 -void machine_real_restart(const unsigned char *code, unsigned length)
    1.17 +static void machine_real_restart(const unsigned char *code, unsigned length)
    1.18  {
    1.19      local_irq_disable();
    1.20