Skip to content

Commit

Permalink
MIPS: Netlogic: Fix interrupt table entry init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jayachandran C authored and John Crispin committed Nov 9, 2012
1 parent b97215f commit 862e509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/include/asm/netlogic/xlp-hal/pic.h
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ nlm_pic_ack(uint64_t base, int irt_num)
static inline void
nlm_pic_init_irt(uint64_t base, int irt, int irq, int hwt)
{
nlm_pic_write_irt_direct(base, irt, 0, 0, 0, irq, 0);
nlm_pic_write_irt_direct(base, irt, 0, 0, 0, irq, hwt);
}

extern uint64_t nlm_pic_base;
Expand Down

0 comments on commit 862e509

Please sign in to comment.