sh: oprofile: Refactor common setup code for multiple driver support.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 16 Dec 2008 00:33:53 +0000 (09:33 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 22 Dec 2008 09:44:43 +0000 (18:44 +0900)
commit60a51fbe5dd2baef0f35bcf79f25ac1ee239a660
tree5183e3e22c526129f6fa9ddbe973116f2bed08b1
parent70fe224743c11b57f9b63326313988fdcceb54df
sh: oprofile: Refactor common setup code for multiple driver support.

This re-implements the old op_model_null code in to something more
generic, where multiple drivers, backtrace, etc. can all be interfaced.
Based largely on arch/mips/oprofile/common.c.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/oprofile/Makefile
arch/sh/oprofile/common.c [new file with mode: 0644]
arch/sh/oprofile/op_impl.h [new file with mode: 0644]
arch/sh/oprofile/op_model_null.c [deleted file]