summaryrefslogtreecommitdiff
path: root/arch/sh/oprofile/op_model_null.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-12-16 03:33:53 +0300
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 12:44:43 +0300
commit60a51fbe5dd2baef0f35bcf79f25ac1ee239a660 (patch)
tree5183e3e22c526129f6fa9ddbe973116f2bed08b1 /arch/sh/oprofile/op_model_null.c
parent70fe224743c11b57f9b63326313988fdcceb54df (diff)
downloadlinux-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.c23
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)
-{
-}
-