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

[Xen-changelog] [xen-unstable] Remove incorrect __init prefixes



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1182970761 -3600
# Node ID c72a93cbcedbae32e99b4968baa5c124bd2454a1
# Parent  b14bbd41e9dc78b116d462f56fc959df3879f45c
Remove incorrect __init prefixes

Following functions can be __init in Linux, however shouldn't
in Xen. __print_IO_APIC is called by keyhandler, while
setup_ioapic_dest is invoked in one platform hypercall.

Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx>
---
 xen/arch/x86/io_apic.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r b14bbd41e9dc -r c72a93cbcedb xen/arch/x86/io_apic.c
--- a/xen/arch/x86/io_apic.c    Tue Jun 26 17:54:10 2007 +0100
+++ b/xen/arch/x86/io_apic.c    Wed Jun 27 19:59:21 2007 +0100
@@ -371,7 +371,7 @@ static int pin_2_irq(int idx, int apic, 
  * so mask in all cases should simply be TARGET_CPUS
  */
 #ifdef CONFIG_SMP
-void __init setup_ioapic_dest(void)
+void /*__init*/ setup_ioapic_dest(void)
 {
     int pin, ioapic, irq, irq_entry;
 
@@ -849,7 +849,7 @@ static inline void UNEXPECTED_IO_APIC(vo
 {
 }
 
-void __init __print_IO_APIC(void)
+void /*__init*/ __print_IO_APIC(void)
 {
     int apic, i;
     union IO_APIC_reg_00 reg_00;

_______________________________________________
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®.