Linux 2.6.28-rc5
[cris-mirror.git] / arch / s390 / oprofile / init.c
blob7a995113b91844cc47caa8faacf851723792ff7e
1 /**
2 * arch/s390/oprofile/init.c
4 * S390 Version
5 * Copyright (C) 2003 IBM Deutschland Entwicklung GmbH, IBM Corporation
6 * Author(s): Thomas Spatzier (tspat@de.ibm.com)
8 * @remark Copyright 2002 OProfile authors
9 */
11 #include <linux/oprofile.h>
12 #include <linux/init.h>
13 #include <linux/errno.h>
16 extern void s390_backtrace(struct pt_regs * const regs, unsigned int depth);
18 int __init oprofile_arch_init(struct oprofile_operations* ops)
20 ops->backtrace = s390_backtrace;
21 return -ENODEV;
24 void oprofile_arch_exit(void)