|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Move initialize_keytable declaration to keyhandler.h
# HG changeset patch
# User agriffis@xxxxxxxxxxxxxxxxxxxxxxxxx
# Date 1158814338 14400
# Node ID 47e5627d8558a45de36ce70d1d81a025bbee4996
# Parent 010ae57673c7103737b84044eaa57a43347a0f0e
Move initialize_keytable declaration to keyhandler.h
Signed-off-by: Aron Griffis <aron@xxxxxx>
diff -r 010ae57673c7 -r 47e5627d8558 xen/arch/ia64/xen/xensetup.c
--- a/xen/arch/ia64/xen/xensetup.c Wed Sep 20 21:47:29 2006 -0400
+++ b/xen/arch/ia64/xen/xensetup.c Thu Sep 21 00:52:18 2006 -0400
@@ -38,7 +38,6 @@ int find_max_pfn (unsigned long, unsigne
int find_max_pfn (unsigned long, unsigned long, void *);
/* FIXME: which header these declarations should be there ? */
-extern void initialize_keytable(void);
extern long is_platform_hp_ski(void);
extern void early_setup_arch(char **);
extern void late_setup_arch(char **);
diff -r 010ae57673c7 -r 47e5627d8558 xen/arch/powerpc/setup.c
--- a/xen/arch/powerpc/setup.c Wed Sep 20 21:47:29 2006 -0400
+++ b/xen/arch/powerpc/setup.c Thu Sep 21 00:52:18 2006 -0400
@@ -87,9 +87,6 @@ struct ns16550_defaults ns16550;
extern char __per_cpu_start[], __per_cpu_data_end[], __per_cpu_end[];
-/* move us to a header file */
-extern void initialize_keytable(void);
-
volatile struct processor_area * volatile global_cpu_table[NR_CPUS];
int is_kernel_text(unsigned long addr)
diff -r 010ae57673c7 -r 47e5627d8558 xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c Wed Sep 20 21:47:29 2006 -0400
+++ b/xen/arch/x86/setup.c Thu Sep 21 00:52:18 2006 -0400
@@ -1,4 +1,3 @@
-
#include <xen/config.h>
#include <xen/init.h>
#include <xen/lib.h>
@@ -16,6 +15,7 @@
#include <xen/gdbstub.h>
#include <xen/percpu.h>
#include <xen/hypercall.h>
+#include <xen/keyhandler.h>
#include <public/version.h>
#include <asm/bitops.h>
#include <asm/smp.h>
@@ -81,7 +81,6 @@ extern void init_IRQ(void);
extern void init_IRQ(void);
extern void trap_init(void);
extern void early_time_init(void);
-extern void initialize_keytable(void);
extern void early_cpu_init(void);
struct tss_struct init_tss[NR_CPUS];
diff -r 010ae57673c7 -r 47e5627d8558 xen/include/xen/keyhandler.h
--- a/xen/include/xen/keyhandler.h Wed Sep 20 21:47:29 2006 -0400
+++ b/xen/include/xen/keyhandler.h Thu Sep 21 00:52:18 2006 -0400
@@ -9,6 +9,9 @@
#ifndef __XEN_KEYHANDLER_H__
#define __XEN_KEYHANDLER_H__
+
+/* Initialize keytable with default handlers */
+extern void initialize_keytable(void);
/*
* Register a callback function for key @key. The callback occurs in
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] Move initialize_keytable declaration to keyhandler.h,
Aron Griffis <=
|
|
|
|
|