aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/mach-voyager/entry_arch.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-10-27 12:32:29 +0000
committerBen Dooks <ben-linux@fluff.org>2008-10-27 12:32:29 +0000
commitb99053eefce89c5c8500517f5f065c85b57d98ee (patch)
tree2e99059d55e32db39a2ada348c39f71bb473c0c1 /arch/x86/include/asm/mach-voyager/entry_arch.h
parent761e0ee0f0beecee7c2528588b043609b880de58 (diff)
parentf8d56f1771e4867acc461146764b4feeb5245669 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into s3c64xx
Conflicts: arch/arm/mm/Kconfig
Diffstat (limited to 'arch/x86/include/asm/mach-voyager/entry_arch.h')
-rw-r--r--arch/x86/include/asm/mach-voyager/entry_arch.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/x86/include/asm/mach-voyager/entry_arch.h b/arch/x86/include/asm/mach-voyager/entry_arch.h
new file mode 100644
index 00000000000..ae52624b593
--- /dev/null
+++ b/arch/x86/include/asm/mach-voyager/entry_arch.h
@@ -0,0 +1,26 @@
+/* -*- mode: c; c-basic-offset: 8 -*- */
+
+/* Copyright (C) 2002
+ *
+ * Author: James.Bottomley@HansenPartnership.com
+ *
+ * linux/arch/i386/voyager/entry_arch.h
+ *
+ * This file builds the VIC and QIC CPI gates
+ */
+
+/* initialise the voyager interrupt gates
+ *
+ * This uses the macros in irq.h to set up assembly jump gates. The
+ * calls are then redirected to the same routine with smp_ prefixed */
+BUILD_INTERRUPT(vic_sys_interrupt, VIC_SYS_INT)
+BUILD_INTERRUPT(vic_cmn_interrupt, VIC_CMN_INT)
+BUILD_INTERRUPT(vic_cpi_interrupt, VIC_CPI_LEVEL0);
+
+/* do all the QIC interrupts */
+BUILD_INTERRUPT(qic_timer_interrupt, QIC_TIMER_CPI);
+BUILD_INTERRUPT(qic_invalidate_interrupt, QIC_INVALIDATE_CPI);
+BUILD_INTERRUPT(qic_reschedule_interrupt, QIC_RESCHEDULE_CPI);
+BUILD_INTERRUPT(qic_enable_irq_interrupt, QIC_ENABLE_IRQ_CPI);
+BUILD_INTERRUPT(qic_call_function_interrupt, QIC_CALL_FUNCTION_CPI);
+BUILD_INTERRUPT(qic_call_function_single_interrupt, QIC_CALL_FUNCTION_SINGLE_CPI);