summaryrefslogtreecommitdiff
path: root/arch/mips/mips-boards/generic/time.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@mips.com>2006-09-12 19:12:18 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-09-27 13:37:42 +0100
commitfc095a902181b72ce77a10feb7b36ba1cbacd736 (patch)
treefdd84f9ea29f26dea3ae340ca168e2a2df27b3be /arch/mips/mips-boards/generic/time.c
parent3ee24e1b1e0b5ae413a85ba63677a7110915e3af (diff)
[MIPS] Atlas: update interrupt handling
The following change updates the Atlas interrupt handling to match that of Malta. Tested with a 5Kc and a 34Kf successfully. Signed-off-by: Maciej W. Rozycki <macro@mips.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mips-boards/generic/time.c')
-rw-r--r--arch/mips/mips-boards/generic/time.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/mips/mips-boards/generic/time.c b/arch/mips/mips-boards/generic/time.c
index de5798e1e015..8d15861fce61 100644
--- a/arch/mips/mips-boards/generic/time.c
+++ b/arch/mips/mips-boards/generic/time.c
@@ -41,8 +41,13 @@
#include <asm/mips-boards/generic.h>
#include <asm/mips-boards/prom.h>
+
+#ifdef CONFIG_MIPS_ATLAS
+#include <asm/mips-boards/atlasint.h>
+#endif
+#ifdef CONFIG_MIPS_MALTA
#include <asm/mips-boards/maltaint.h>
-#include <asm/mc146818-time.h>
+#endif
unsigned long cpu_khz;