Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / xtensa / oprofile / init.c
bloba67eea379766df8d5aa1f4b790eabde2b4578f24
1 /**
2 * @file init.c
4 * @remark Copyright 2008 Tensilica Inc.
5 * @remark Read the file COPYING
7 */
9 #include <linux/kernel.h>
10 #include <linux/oprofile.h>
11 #include <linux/errno.h>
12 #include <linux/init.h>
15 extern void xtensa_backtrace(struct pt_regs *const regs, unsigned int depth);
17 int __init oprofile_arch_init(struct oprofile_operations *ops)
19 ops->backtrace = xtensa_backtrace;
20 return -ENODEV;
24 void oprofile_arch_exit(void)