diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-06-08 05:55:22 -0400 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-07-14 16:32:48 -0400 |
commit | 2f210deba9887dd9143b63b217506f1ac152e91c (patch) | |
tree | e38ce666171561f6dc30126fedb2b357b0264ccd /arch | |
parent | 6b2b171a774af256082635b53ac387b1613b7b4c (diff) |
x86/ioapic.c: ioapic_modify_irq is too large to inline
If ioapic_modify_irq() is marked inline, it gets inlined several times.
Un-inlining it saves around 200 bytes in .text for me.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 90b5e6efa938..82271eb87bb0 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
@@ -556,9 +556,9 @@ static void __init replace_pin_at_irq_node(struct irq_cfg *cfg, int node, | |||
556 | add_pin_to_irq_node(cfg, node, newapic, newpin); | 556 | add_pin_to_irq_node(cfg, node, newapic, newpin); |
557 | } | 557 | } |
558 | 558 | ||
559 | static inline void io_apic_modify_irq(struct irq_cfg *cfg, | 559 | static void io_apic_modify_irq(struct irq_cfg *cfg, |
560 | int mask_and, int mask_or, | 560 | int mask_and, int mask_or, |
561 | void (*final)(struct irq_pin_list *entry)) | 561 | void (*final)(struct irq_pin_list *entry)) |
562 | { | 562 | { |
563 | int pin; | 563 | int pin; |
564 | struct irq_pin_list *entry; | 564 | struct irq_pin_list *entry; |