[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] Clean up extern declarations in arch/ia64/xen/domain.c



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 7cfc7cb7cea7024352cc4ff9f185788e9f09920d
# Parent  4786a0b3d6c5f1e1801a9647289580481bdec459
[IA64] Clean up extern declarations in arch/ia64/xen/domain.c

Signed-off-by: Aron Griffis <aron@xxxxxx>
---
 xen/arch/ia64/xen/domain.c                  |   10 +---------
 xen/include/asm-ia64/linux-xen/asm/system.h |    1 +
 xen/include/asm-ia64/vmx.h                  |    1 +
 3 files changed, 3 insertions(+), 9 deletions(-)

diff -r 4786a0b3d6c5 -r 7cfc7cb7cea7 xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Wed Oct 04 22:12:01 2006 -0600
+++ b/xen/arch/ia64/xen/domain.c        Wed Oct 04 22:12:14 2006 -0600
@@ -59,13 +59,8 @@ extern unsigned long running_on_sim;
 
 extern char dom0_command_line[];
 
-/* FIXME: where these declarations should be there ? */
-extern void serial_input_init(void);
+/* forward declaration */
 static void init_switch_stack(struct vcpu *v);
-extern void vmx_do_launch(struct vcpu *);
-
-/* this belongs in include/asm, but there doesn't seem to be a suitable place 
*/
-extern struct vcpu *ia64_switch_to (struct vcpu *next_task);
 
 /* Address of vpsr.i (in fact evtchn_upcall_mask) of current vcpu.
    This is a Xen virtual address.  */
@@ -1103,9 +1098,6 @@ int construct_dom0(struct domain *d,
 
        physdev_init_dom0(d);
 
-       // FIXME: Hack for keyboard input
-       //serial_input_init();
-
        return 0;
 }
 
diff -r 4786a0b3d6c5 -r 7cfc7cb7cea7 xen/include/asm-ia64/linux-xen/asm/system.h
--- a/xen/include/asm-ia64/linux-xen/asm/system.h       Wed Oct 04 22:12:01 
2006 -0600
+++ b/xen/include/asm-ia64/linux-xen/asm/system.h       Wed Oct 04 22:12:14 
2006 -0600
@@ -189,6 +189,7 @@ do {                                                        
        \
 
 #ifdef XEN
 #define local_irq_is_enabled() (!irqs_disabled())
+extern struct vcpu *ia64_switch_to(struct vcpu *next_task);
 #else
 #ifdef __KERNEL__
 
diff -r 4786a0b3d6c5 -r 7cfc7cb7cea7 xen/include/asm-ia64/vmx.h
--- a/xen/include/asm-ia64/vmx.h        Wed Oct 04 22:12:01 2006 -0600
+++ b/xen/include/asm-ia64/vmx.h        Wed Oct 04 22:12:14 2006 -0600
@@ -35,6 +35,7 @@ extern void vmx_save_state(struct vcpu *
 extern void vmx_save_state(struct vcpu *v);
 extern void vmx_load_state(struct vcpu *v);
 extern void vmx_setup_platform(struct domain *d);
+extern void vmx_do_launch(struct vcpu *v);
 extern void vmx_io_assist(struct vcpu *v);
 extern int ia64_hypercall (struct pt_regs *regs);
 extern void vmx_save_state(struct vcpu *v);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.