summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/arch/x86/kernel/irq_work.c
diff options
context:
space:
mode:
Diffstat (limited to 'ANDROID_3.4.5/arch/x86/kernel/irq_work.c')
-rw-r--r--ANDROID_3.4.5/arch/x86/kernel/irq_work.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/ANDROID_3.4.5/arch/x86/kernel/irq_work.c b/ANDROID_3.4.5/arch/x86/kernel/irq_work.c
deleted file mode 100644
index ca8f703a..00000000
--- a/ANDROID_3.4.5/arch/x86/kernel/irq_work.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * x86 specific code for irq_work
- *
- * Copyright (C) 2010 Red Hat, Inc., Peter Zijlstra <pzijlstr@redhat.com>
- */
-
-#include <linux/kernel.h>
-#include <linux/irq_work.h>
-#include <linux/hardirq.h>
-#include <asm/apic.h>
-
-void smp_irq_work_interrupt(struct pt_regs *regs)
-{
- irq_enter();
- ack_APIC_irq();
- inc_irq_stat(apic_irq_work_irqs);
- irq_work_run();
- irq_exit();
-}
-
-void arch_irq_work_raise(void)
-{
-#ifdef CONFIG_X86_LOCAL_APIC
- if (!cpu_has_apic)
- return;
-
- apic->send_IPI_self(IRQ_WORK_VECTOR);
- apic_wait_icr_idle();
-#endif
-}