diff options
author | Wu Zhangjin <[email protected]> | 2009-07-02 23:25:46 +0800 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2009-09-17 20:07:47 +0200 |
commit | 67b35e5d01aba7a83f2161b0c90acb08afa01e3e (patch) | |
tree | b85665bc0611c07d26299c20424332cc8899133d /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 92d1b63dbae0865bee5317ca6b65e0b304dc590d (diff) |
MIPS: Loongson: Add oprofile support
This kernel support is needed by the user-space tool:oprofile to profile
linux kernel or applications via loongson2 performance counters. you can
enable this driver via CONFIG_OPROFILE = y or m.
On Loongson2 there are two performance counters, each one can count 16
events respectively. when anyone of the performance counter overflows, an
interrupt will be generated and is routed to the IRQ MIPS_CPU_IRQ_BASE + 6.
Signed-off-by: Yanhua <[email protected]>
Signed-off-by: Wu Zhangjin <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions