mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 08:56:45 +07:00
d0f4c16feb
Signed-off-by: Andreas Krebbel <krebbel1@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
27 lines
538 B
C
27 lines
538 B
C
/**
|
|
* arch/s390/oprofile/init.c
|
|
*
|
|
* S390 Version
|
|
* Copyright (C) 2003 IBM Deutschland Entwicklung GmbH, IBM Corporation
|
|
* Author(s): Thomas Spatzier (tspat@de.ibm.com)
|
|
*
|
|
* @remark Copyright 2002 OProfile authors
|
|
*/
|
|
|
|
#include <linux/oprofile.h>
|
|
#include <linux/init.h>
|
|
#include <linux/errno.h>
|
|
|
|
|
|
extern void s390_backtrace(struct pt_regs * const regs, unsigned int depth);
|
|
|
|
int __init oprofile_arch_init(struct oprofile_operations* ops)
|
|
{
|
|
ops->backtrace = s390_backtrace;
|
|
return -ENODEV;
|
|
}
|
|
|
|
void oprofile_arch_exit(void)
|
|
{
|
|
}
|