diff options
| author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-02-11 14:52:22 -0500 |
|---|---|---|
| committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-02-11 14:52:22 -0500 |
| commit | 9049a11de73d3ecc623f1903100d099f82ede56c (patch) | |
| tree | c03d130d58168e337a66fe999682452b7a02b42b /arch/x86/kernel/irq_64.c | |
| parent | c47c1b1f3a9d6973108020df1dcab7604f7774dd (diff) | |
| parent | e4d0407185cdbdcfd99fc23bde2e5454bbc46329 (diff) | |
Merge commit 'remotes/tip/x86/paravirt' into x86/untangle2
* commit 'remotes/tip/x86/paravirt': (175 commits)
xen: use direct ops on 64-bit
xen: make direct versions of irq_enable/disable/save/restore to common code
xen: setup percpu data pointers
xen: fix 32-bit build resulting from mmu move
x86/paravirt: return full 64-bit result
x86, percpu: fix kexec with vmlinux
x86/vmi: fix interrupt enable/disable/save/restore calling convention.
x86/paravirt: don't restore second return reg
xen: setup percpu data pointers
x86: split loading percpu segments from loading gdt
x86: pass in cpu number to switch_to_new_gdt()
x86: UV fix uv_flush_send_and_wait()
x86/paravirt: fix missing callee-save call on pud_val
x86/paravirt: use callee-saved convention for pte_val/make_pte/etc
x86/paravirt: implement PVOP_CALL macros for callee-save functions
x86/paravirt: add register-saving thunks to reduce caller register pressure
x86/paravirt: selectively save/restore regs around pvops calls
x86: fix paravirt clobber in entry_64.S
x86/pvops: add a paravirt_ident functions to allow special patching
xen: move remaining mmu-related stuff into mmu.c
...
Conflicts:
arch/x86/mach-voyager/voyager_smp.c
arch/x86/mm/fault.c
Diffstat (limited to 'arch/x86/kernel/irq_64.c')
| -rw-r--r-- | arch/x86/kernel/irq_64.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/x86/kernel/irq_64.c b/arch/x86/kernel/irq_64.c index 63c88e6ec025..018963aa6ee3 100644 --- a/arch/x86/kernel/irq_64.c +++ b/arch/x86/kernel/irq_64.c | |||
| @@ -18,6 +18,13 @@ | |||
| 18 | #include <linux/smp.h> | 18 | #include <linux/smp.h> |
| 19 | #include <asm/io_apic.h> | 19 | #include <asm/io_apic.h> |
| 20 | #include <asm/idle.h> | 20 | #include <asm/idle.h> |
| 21 | #include <asm/apic.h> | ||
| 22 | |||
| 23 | DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); | ||
| 24 | EXPORT_PER_CPU_SYMBOL(irq_stat); | ||
| 25 | |||
| 26 | DEFINE_PER_CPU(struct pt_regs *, irq_regs); | ||
| 27 | EXPORT_PER_CPU_SYMBOL(irq_regs); | ||
| 21 | 28 | ||
| 22 | /* | 29 | /* |
| 23 | * Probabilistic stack overflow check: | 30 | * Probabilistic stack overflow check: |
| @@ -100,7 +107,7 @@ void fixup_irqs(void) | |||
| 100 | /* interrupt's are disabled at this point */ | 107 | /* interrupt's are disabled at this point */ |
| 101 | spin_lock(&desc->lock); | 108 | spin_lock(&desc->lock); |
| 102 | 109 | ||
| 103 | affinity = &desc->affinity; | 110 | affinity = desc->affinity; |
| 104 | if (!irq_has_action(irq) || | 111 | if (!irq_has_action(irq) || |
| 105 | cpumask_equal(affinity, cpu_online_mask)) { | 112 | cpumask_equal(affinity, cpu_online_mask)) { |
| 106 | spin_unlock(&desc->lock); | 113 | spin_unlock(&desc->lock); |
