Skip to content
Commit 4e73238d authored by Wu Zhangjin's avatar Wu Zhangjin Committed by Ralf Baechle
Browse files

MIPS: Oprofile: Fix Loongson irq handler


    
    The interrupt enable bit for the performance counters is in the Control
    Register $24, not in the counter register.
    loongson2_perfcount_handler(), we need to use
    
Reported-by: default avatarXu Hengyang <hengyang@mail.ustc.edu.cn>
Signed-off-by: default avatarWu Zhangjin <wuzhangjin@gmail.com>
    Cc: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/1198/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>

---
parent 46afb829
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment