diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-12-16 03:33:53 +0300 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 12:44:43 +0300 |
commit | 60a51fbe5dd2baef0f35bcf79f25ac1ee239a660 (patch) | |
tree | 5183e3e22c526129f6fa9ddbe973116f2bed08b1 /arch/sh/oprofile/op_model_null.c | |
parent | 70fe224743c11b57f9b63326313988fdcceb54df (diff) | |
download | linux-60a51fbe5dd2baef0f35bcf79f25ac1ee239a660.tar.xz |
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>
Diffstat (limited to 'arch/sh/oprofile/op_model_null.c')
-rw-r--r-- | arch/sh/oprofile/op_model_null.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/sh/oprofile/op_model_null.c b/arch/sh/oprofile/op_model_null.c deleted file mode 100644 index a845b088edb4..000000000000 --- a/arch/sh/oprofile/op_model_null.c +++ /dev/null @@ -1,23 +0,0 @@ -/* - * arch/sh/oprofile/op_model_null.c - * - * Copyright (C) 2003 Paul Mundt - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - */ -#include <linux/kernel.h> -#include <linux/oprofile.h> -#include <linux/init.h> -#include <linux/errno.h> - -int __init oprofile_arch_init(struct oprofile_operations *ops) -{ - return -ENODEV; -} - -void oprofile_arch_exit(void) -{ -} - |