Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7b4f4ec21038ac13c63d130357d1c3015ec3f3e8
Commit:     7b4f4ec21038ac13c63d130357d1c3015ec3f3e8
Parent:     ffe9ee4709cf513fb80e9b7e04d214dd8b76a10d
Author:     Chris Dearman <[EMAIL PROTECTED]>
AuthorDate: Thu May 24 22:46:25 2007 +0100
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Thu Jun 14 18:25:15 2007 +0100

    [MIPS] Fix builds where MSC01E_xxx is undefined.
    
    Signed-off-by: Chris Dearman <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/mips-boards/generic/time.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/arch/mips/mips-boards/generic/time.c 
b/arch/mips/mips-boards/generic/time.c
index 33432ea..8f1000f 100644
--- a/arch/mips/mips-boards/generic/time.c
+++ b/arch/mips/mips-boards/generic/time.c
@@ -295,11 +295,14 @@ void __init plat_perf_setup(struct irqaction *irq)
 void __init plat_timer_setup(struct irqaction *irq)
 {
        int hwint = 0;
+#ifdef MSC01E_INT_BASE
        if (cpu_has_veic) {
                set_vi_handler (MSC01E_INT_CPUCTR, mips_timer_dispatch);
                mips_cpu_timer_irq = MSC01E_INT_BASE + MSC01E_INT_CPUCTR;
        }
-       else {
+       else
+#endif
+       {
                if (cpu_has_mips_r2)
                        /*
                         * Read IntCtl.IPTI to determine the timer interrupt
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to