[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] [PATCH] Clean up extern declarations in arch/ia64/xen/domain.c
# HG changeset patch # User agriffis@xxxxxxxxxxxxxxxxxxxxxxxxx # Date 1159888068 14400 # Node ID 97d0d53ac021682ee7b6f9303c7b82d6d14b931f # Parent 6e7cc23ab18c23fdb2a8b4d0a7778c4144851818 Clean up extern declarations in arch/ia64/xen/domain.c Signed-off-by: Aron Griffis <aron@xxxxxx> diff -r 6e7cc23ab18c -r 97d0d53ac021 xen/arch/ia64/xen/domain.c --- a/xen/arch/ia64/xen/domain.c Mon Oct 02 21:53:07 2006 -0600 +++ b/xen/arch/ia64/xen/domain.c Tue Oct 03 11:07:48 2006 -0400 @@ -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 6e7cc23ab18c -r 97d0d53ac021 xen/include/asm-ia64/linux-xen/asm/system.h --- a/xen/include/asm-ia64/linux-xen/asm/system.h Mon Oct 02 21:53:07 2006 -0600 +++ b/xen/include/asm-ia64/linux-xen/asm/system.h Tue Oct 03 11:07:48 2006 -0400 @@ -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 6e7cc23ab18c -r 97d0d53ac021 xen/include/asm-ia64/vmx.h --- a/xen/include/asm-ia64/vmx.h Mon Oct 02 21:53:07 2006 -0600 +++ b/xen/include/asm-ia64/vmx.h Tue Oct 03 11:07:48 2006 -0400 @@ -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-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |