WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] Clean up extern declarations in ar

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Clean up extern declarations in arch/ia64/xen/domain.c
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Oct 2006 12:10:44 +0000
Delivery-date: Thu, 26 Oct 2006 05:14:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Clean up extern declarations in arch/ia64/xen/domain.c, Xen patchbot-unstable <=