提交 9c93e596 编写于 作者: P Paul Mundt

sh: Generic HAVE_PERF_COUNTER support.

This enables support for the generic software-based perf counters.

Hardware counter support could be added in the future, but the lack
of a performance counter IRQ makes this rather dubious.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 f01789c6
......@@ -15,6 +15,7 @@ config SUPERH
select HAVE_IOREMAP_PROT if MMU
select HAVE_ARCH_TRACEHOOK
select HAVE_DMA_API_DEBUG
select HAVE_PERF_COUNTER
select RTC_LIB
select GENERIC_ATOMIC64
help
......
#ifndef __ASM_SH_PERF_COUNTER_H
#define __ASM_SH_PERF_COUNTER_H
/* SH only supports software counters through this interface. */
#define set_perf_counter_pending() do { } while (0)
#endif /* __ASM_SH_PERF_COUNTER_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册