ia64/xen-unstable

changeset 11601:828c0c89d830

Move initialize_keytable declaration to keyhandler.h

Signed-off-by: Aron Griffis <aron@hp.com>
author kfraser@localhost.localdomain
date Sat Sep 23 14:07:41 2006 +0100 (2006-09-23)
parents f983ed5e9098
children 19b126974c1f
files xen/arch/ia64/xen/xensetup.c xen/arch/powerpc/setup.c xen/arch/x86/setup.c xen/include/xen/keyhandler.h
line diff
     1.1 --- a/xen/arch/ia64/xen/xensetup.c	Sat Sep 23 14:07:30 2006 +0100
     1.2 +++ b/xen/arch/ia64/xen/xensetup.c	Sat Sep 23 14:07:41 2006 +0100
     1.3 @@ -38,7 +38,6 @@ extern unsigned long domain0_ready;
     1.4  int find_max_pfn (unsigned long, unsigned long, void *);
     1.5  
     1.6  /* FIXME: which header these declarations should be there ? */
     1.7 -extern void initialize_keytable(void);
     1.8  extern long is_platform_hp_ski(void);
     1.9  extern void early_setup_arch(char **);
    1.10  extern void late_setup_arch(char **);
     2.1 --- a/xen/arch/powerpc/setup.c	Sat Sep 23 14:07:30 2006 +0100
     2.2 +++ b/xen/arch/powerpc/setup.c	Sat Sep 23 14:07:41 2006 +0100
     2.3 @@ -87,9 +87,6 @@ struct ns16550_defaults ns16550;
     2.4  
     2.5  extern char __per_cpu_start[], __per_cpu_data_end[], __per_cpu_end[];
     2.6  
     2.7 -/* move us to a header file */
     2.8 -extern void initialize_keytable(void);
     2.9 -
    2.10  volatile struct processor_area * volatile global_cpu_table[NR_CPUS];
    2.11  
    2.12  int is_kernel_text(unsigned long addr)
     3.1 --- a/xen/arch/x86/setup.c	Sat Sep 23 14:07:30 2006 +0100
     3.2 +++ b/xen/arch/x86/setup.c	Sat Sep 23 14:07:41 2006 +0100
     3.3 @@ -1,4 +1,3 @@
     3.4 -
     3.5  #include <xen/config.h>
     3.6  #include <xen/init.h>
     3.7  #include <xen/lib.h>
     3.8 @@ -16,6 +15,7 @@
     3.9  #include <xen/gdbstub.h>
    3.10  #include <xen/percpu.h>
    3.11  #include <xen/hypercall.h>
    3.12 +#include <xen/keyhandler.h>
    3.13  #include <public/version.h>
    3.14  #include <asm/bitops.h>
    3.15  #include <asm/smp.h>
    3.16 @@ -81,7 +81,6 @@ extern void arch_init_memory(void);
    3.17  extern void init_IRQ(void);
    3.18  extern void trap_init(void);
    3.19  extern void early_time_init(void);
    3.20 -extern void initialize_keytable(void);
    3.21  extern void early_cpu_init(void);
    3.22  
    3.23  struct tss_struct init_tss[NR_CPUS];
     4.1 --- a/xen/include/xen/keyhandler.h	Sat Sep 23 14:07:30 2006 +0100
     4.2 +++ b/xen/include/xen/keyhandler.h	Sat Sep 23 14:07:41 2006 +0100
     4.3 @@ -10,6 +10,9 @@
     4.4  #ifndef __XEN_KEYHANDLER_H__
     4.5  #define __XEN_KEYHANDLER_H__
     4.6  
     4.7 +/* Initialize keytable with default handlers */
     4.8 +extern void initialize_keytable(void);
     4.9 +
    4.10  /*
    4.11   * Register a callback function for key @key. The callback occurs in
    4.12   * softirq context with no locks held and interrupts enabled.