Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 862e509b authored by Jayachandran C's avatar Jayachandran C Committed by John Crispin
Browse files

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: default avatarJayachandran C <jchandra@broadcom.com>
Patchwork: http://patchwork.linux-mips.org/patch/4465


Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
parent b97215fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;