| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH 4/4] excite: Supply platform-specific compare and performance timer interrupts |
| From: | Thomas Koeller <thomas.koeller@baslerweb.com> |
| Date: | Tue, 18 Dec 2007 01:27:07 +0100 |
| Cc: | ralf@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
As the eXcite platform uses the alternate RM9000 compare interrupt, it
must supply a platform-specific irq value. The performance counter is
currently unused.
Signed-off-by: Thomas Koeller <thomas.koeller@baslerweb.com>
diff --git a/arch/mips/basler/excite/excite_setup.c
b/arch/mips/basler/excite/excite_setup.c
index 6dd8f0d..a91309f 100644
--- a/arch/mips/basler/excite/excite_setup.c
+++ b/arch/mips/basler/excite/excite_setup.c
@@ -85,6 +85,18 @@ void __init plat_time_init(void)
mips_hpt_frequency = EXCITE_CPU_EXT_CLOCK * mult / div / 2;
}
+unsigned int __init
+get_c0_compare_int(void)
+{
+ return 12;
+}
+
+unsigned int __init
+get_c0_perfcounter_int(void)
+{
+ return -1;
+}
+
static int __init excite_init_console(void)
{
#if defined(CONFIG_SERIAL_8250)
--
1.5.3.6
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 3/4] [MIPS] Allow platform to override default timer and performance counter interrupts, Thomas Koeller |
|---|---|
| Next by Date: | [PATCH 1/4] Introduced GPI_RM9000 configuration parameter, Thomas Koeller |
| Previous by Thread: | [PATCH 3/4] [MIPS] Allow platform to override default timer and performance counter interrupts, Thomas Koeller |
| Next by Thread: | [PATCH 1/4] Introduced GPI_RM9000 configuration parameter, Thomas Koeller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |