sh: Generic HAVE_PERF_COUNTER support.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 17 Jun 2009 07:34:45 +0000 (16:34 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 17 Jun 2009 07:34:45 +0000 (16:34 +0900)
commit9c93e596979021b159736a1273987c3e52d809e0
treea20c2f65f339c70b51d633ee04f93c02a690dcdc
parentf01789c68882d846946cf9b972cf090b283d1f73
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: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig
arch/sh/include/asm/perf_counter.h [new file with mode: 0644]