summaryrefslogtreecommitdiffstats
path: root/kernel/arch/mn10300/oprofile/op_model_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/mn10300/oprofile/op_model_null.c')
-rw-r--r--kernel/arch/mn10300/oprofile/op_model_null.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/kernel/arch/mn10300/oprofile/op_model_null.c b/kernel/arch/mn10300/oprofile/op_model_null.c
new file mode 100644
index 000000000..cd4ab374b
--- /dev/null
+++ b/kernel/arch/mn10300/oprofile/op_model_null.c
@@ -0,0 +1,22 @@
+/* Null profiling driver
+ *
+ * Copyright (C) 2003 Paul Mundt
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * Licence. 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)
+{
+}
+