diff options
author | Wu Zhangjin <wuzhangjin@gmail.com> | 2010-02-01 17:10:55 +0800 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-10 22:15:42 +0100 |
commit | f4fc580bec5fb76560329c8c537b9b71d8d032b6 (patch) | |
tree | 65c8ab255b57c1163f026d7e6716de5164acec62 /scripts/headers.sh | |
parent | e28cab42f384745c8a947a9ccd51e4aae52f5d51 (diff) | |
download | op-kernel-dev-f4fc580bec5fb76560329c8c537b9b71d8d032b6.zip op-kernel-dev-f4fc580bec5fb76560329c8c537b9b71d8d032b6.tar.gz |
MIPS: Fixup of the r4k timer
As reported by Maxime Bizon, the commit "MIPS: PowerTV: Fix support for
timer interrupts with > 64 external IRQs" have broken the r4k timer
since it didn't initialize the cp0_compare_irq_shift variable used in
c0_compare_int_pending() on the architectures whose cpu_has_mips_r2 is
false.
This patch fixes it via initializing the cp0_compare_irq_shift as the
cp0_compare_irq used in the old c0_compare_int_pending().
Reported-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: David VomLehn <dvomlehn@cisco.com>
Cc: mbizon@freebox.fr
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/922/
Tested-by: Shane McDonald <mcdonald.shane@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'scripts/headers.sh')
0 files changed, 0 insertions, 0 deletions