diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-21 14:37:57 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-21 14:37:57 -0500 |
commit | ad2e6329666650d9cafcae9ef53fbe09ea759ae2 (patch) | |
tree | b23eb258fa609be246bb44cd9b33ff86d8142ca7 /arch/ia64/kernel/iosapic.c | |
parent | 1ee0a224bc9aad1de496c795f96bc6ba2c394811 (diff) | |
parent | b810075002c9f25a6da83cecda39d789000a04a9 (diff) |
Merge tag 'fixes-for-v3.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-linus
Felipe writes:
usb: fixes for v3.8-rc5
Finally we have a build fix for fsl-mxc-udc UDC driver.
We also have a fix for ep0 maxburst setting on DWC3
which could confuse the HW if we tell it we had way
too many streams on that endpoint when it _has_ to be
only one.
cppi_dma support for MUSB got a fix when running as a
module. By dropping the wrong __init annotation, the
function will be available even when we're modules and
we're done with .init.text section.
Last, but not least, we have a fix on FunctionFS which
was causing a bug on our option parsing algorithm.
Diffstat (limited to 'arch/ia64/kernel/iosapic.c')
-rw-r--r-- | arch/ia64/kernel/iosapic.c | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/arch/ia64/kernel/iosapic.c b/arch/ia64/kernel/iosapic.c index ef4b5d877cf2..ee33c3aaa2fc 100644 --- a/arch/ia64/kernel/iosapic.c +++ b/arch/ia64/kernel/iosapic.c | |||
@@ -147,7 +147,7 @@ static struct iosapic_intr_info { | |||
147 | unsigned char trigger : 1; /* trigger mode (see iosapic.h) */ | 147 | unsigned char trigger : 1; /* trigger mode (see iosapic.h) */ |
148 | } iosapic_intr_info[NR_IRQS]; | 148 | } iosapic_intr_info[NR_IRQS]; |
149 | 149 | ||
150 | static unsigned char pcat_compat __devinitdata; /* 8259 compatibility flag */ | 150 | static unsigned char pcat_compat; /* 8259 compatibility flag */ |
151 | 151 | ||
152 | static inline void | 152 | static inline void |
153 | iosapic_write(struct iosapic *iosapic, unsigned int reg, u32 val) | 153 | iosapic_write(struct iosapic *iosapic, unsigned int reg, u32 val) |
@@ -914,10 +914,8 @@ iosapic_register_platform_intr (u32 int_type, unsigned int gsi, | |||
914 | /* | 914 | /* |
915 | * ACPI calls this when it finds an entry for a legacy ISA IRQ override. | 915 | * ACPI calls this when it finds an entry for a legacy ISA IRQ override. |
916 | */ | 916 | */ |
917 | void __devinit | 917 | void iosapic_override_isa_irq(unsigned int isa_irq, unsigned int gsi, |
918 | iosapic_override_isa_irq (unsigned int isa_irq, unsigned int gsi, | 918 | unsigned long polarity, unsigned long trigger) |
919 | unsigned long polarity, | ||
920 | unsigned long trigger) | ||
921 | { | 919 | { |
922 | int vector, irq; | 920 | int vector, irq; |
923 | unsigned int dest = cpu_physical_id(smp_processor_id()); | 921 | unsigned int dest = cpu_physical_id(smp_processor_id()); |
@@ -1012,8 +1010,7 @@ iosapic_check_gsi_range (unsigned int gsi_base, unsigned int ver) | |||
1012 | return 0; | 1010 | return 0; |
1013 | } | 1011 | } |
1014 | 1012 | ||
1015 | int __devinit | 1013 | int iosapic_init(unsigned long phys_addr, unsigned int gsi_base) |
1016 | iosapic_init (unsigned long phys_addr, unsigned int gsi_base) | ||
1017 | { | 1014 | { |
1018 | int num_rte, err, index; | 1015 | int num_rte, err, index; |
1019 | unsigned int isa_irq, ver; | 1016 | unsigned int isa_irq, ver; |
@@ -1070,9 +1067,7 @@ iosapic_init (unsigned long phys_addr, unsigned int gsi_base) | |||
1070 | return 0; | 1067 | return 0; |
1071 | } | 1068 | } |
1072 | 1069 | ||
1073 | #ifdef CONFIG_HOTPLUG | 1070 | int iosapic_remove(unsigned int gsi_base) |
1074 | int | ||
1075 | iosapic_remove (unsigned int gsi_base) | ||
1076 | { | 1071 | { |
1077 | int index, err = 0; | 1072 | int index, err = 0; |
1078 | unsigned long flags; | 1073 | unsigned long flags; |
@@ -1098,11 +1093,9 @@ iosapic_remove (unsigned int gsi_base) | |||
1098 | spin_unlock_irqrestore(&iosapic_lock, flags); | 1093 | spin_unlock_irqrestore(&iosapic_lock, flags); |
1099 | return err; | 1094 | return err; |
1100 | } | 1095 | } |
1101 | #endif /* CONFIG_HOTPLUG */ | ||
1102 | 1096 | ||
1103 | #ifdef CONFIG_NUMA | 1097 | #ifdef CONFIG_NUMA |
1104 | void __devinit | 1098 | void map_iosapic_to_node(unsigned int gsi_base, int node) |
1105 | map_iosapic_to_node(unsigned int gsi_base, int node) | ||
1106 | { | 1099 | { |
1107 | int index; | 1100 | int index; |
1108 | 1101 | ||