]> bbs.cooldavid.org Git - net-next-2.6.git/commit
sh: perf: Set up perf_max_events.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 13 Oct 2010 08:52:14 +0000 (17:52 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 13 Oct 2010 08:52:14 +0000 (17:52 +0900)
commit51c6c9bb34fcd112d4ab8b8f5c1d1b6a10a00e71
tree001aab40b411fcd9dfd4370b6797fc810457d6a6
parent5e5b3a9dc8405f6a49531a02754a6cc2a1c6cd28
sh: perf: Set up perf_max_events.

Presently this is uninitialized in the architecture code, so it's
artificlally capped to the default initialization value. Set it up at
registration time.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/perf_event.c