direct-io.hg

changeset 15421:c72a93cbcedb

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@intel.com>
author Keir Fraser <keir@xensource.com>
date Wed Jun 27 19:59:21 2007 +0100 (2007-06-27)
parents b14bbd41e9dc
children 16f35bea00f8
files xen/arch/x86/io_apic.c
line diff
     1.1 --- a/xen/arch/x86/io_apic.c	Tue Jun 26 17:54:10 2007 +0100
     1.2 +++ b/xen/arch/x86/io_apic.c	Wed Jun 27 19:59:21 2007 +0100
     1.3 @@ -371,7 +371,7 @@ static int pin_2_irq(int idx, int apic, 
     1.4   * so mask in all cases should simply be TARGET_CPUS
     1.5   */
     1.6  #ifdef CONFIG_SMP
     1.7 -void __init setup_ioapic_dest(void)
     1.8 +void /*__init*/ setup_ioapic_dest(void)
     1.9  {
    1.10      int pin, ioapic, irq, irq_entry;
    1.11  
    1.12 @@ -849,7 +849,7 @@ static inline void UNEXPECTED_IO_APIC(vo
    1.13  {
    1.14  }
    1.15  
    1.16 -void __init __print_IO_APIC(void)
    1.17 +void /*__init*/ __print_IO_APIC(void)
    1.18  {
    1.19      int apic, i;
    1.20      union IO_APIC_reg_00 reg_00;