aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorJayachandran C <jchandra@broadcom.com>2012-10-31 08:01:34 -0400
committerJohn Crispin <blogic@openwrt.org>2012-11-09 05:37:19 -0500
commit862e509b7e31198578449ce356e14a37bd8a6ac7 (patch)
treef5a87f28badda96409c864edc773605502bb3f48 /arch/mips
parentb97215fd938f6bc2469acd82de8e6e36adcbea7c (diff)
MIPS: Netlogic: Fix interrupt table entry init
Used the hardware thread id passed in while writing to IRT in nlm_pic_init_irt() Signed-off-by: Jayachandran C <jchandra@broadcom.com> Patchwork: http://patchwork.linux-mips.org/patch/4465 Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/include/asm/netlogic/xlp-hal/pic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/netlogic/xlp-hal/pic.h b/arch/mips/include/asm/netlogic/xlp-hal/pic.h
index ad8b80233a63..49ee15c19771 100644
--- a/arch/mips/include/asm/netlogic/xlp-hal/pic.h
+++ b/arch/mips/include/asm/netlogic/xlp-hal/pic.h
@@ -404,7 +404,7 @@ nlm_pic_ack(uint64_t base, int irt_num)
404static inline void 404static inline void
405nlm_pic_init_irt(uint64_t base, int irt, int irq, int hwt) 405nlm_pic_init_irt(uint64_t base, int irt, int irq, int hwt)
406{ 406{
407 nlm_pic_write_irt_direct(base, irt, 0, 0, 0, irq, 0); 407 nlm_pic_write_irt_direct(base, irt, 0, 0, 0, irq, hwt);
408} 408}
409 409
410extern uint64_t nlm_pic_base; 410extern uint64_t nlm_pic_base;