diff options
Diffstat (limited to 'arch/xtensa/oprofile/init.c')
-rw-r--r-- | arch/xtensa/oprofile/init.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/xtensa/oprofile/init.c b/arch/xtensa/oprofile/init.c new file mode 100644 index 000000000000..a67eea379766 --- /dev/null +++ b/arch/xtensa/oprofile/init.c | |||
@@ -0,0 +1,26 @@ | |||
1 | /** | ||
2 | * @file init.c | ||
3 | * | ||
4 | * @remark Copyright 2008 Tensilica Inc. | ||
5 | * @remark Read the file COPYING | ||
6 | * | ||
7 | */ | ||
8 | |||
9 | #include <linux/kernel.h> | ||
10 | #include <linux/oprofile.h> | ||
11 | #include <linux/errno.h> | ||
12 | #include <linux/init.h> | ||
13 | |||
14 | |||
15 | extern void xtensa_backtrace(struct pt_regs *const regs, unsigned int depth); | ||
16 | |||
17 | int __init oprofile_arch_init(struct oprofile_operations *ops) | ||
18 | { | ||
19 | ops->backtrace = xtensa_backtrace; | ||
20 | return -ENODEV; | ||
21 | } | ||
22 | |||
23 | |||
24 | void oprofile_arch_exit(void) | ||
25 | { | ||
26 | } | ||