Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b authored by Linus Torvalds on 21 July 2013, 19:05:29 UTC
Linux 3.11-rc2
Tip revision: 3b2f64d
ftrace.h
#ifndef _ASM_S390_FTRACE_H
#define _ASM_S390_FTRACE_H

#ifndef __ASSEMBLY__

extern void _mcount(void);

struct dyn_arch_ftrace { };

#define MCOUNT_ADDR ((long)_mcount)


static inline unsigned long ftrace_call_adjust(unsigned long addr)
{
	return addr;
}

#endif /* __ASSEMBLY__ */

#ifdef CONFIG_64BIT
#define MCOUNT_INSN_SIZE  12
#else
#define MCOUNT_INSN_SIZE  22
#endif

#endif /* _ASM_S390_FTRACE_H */
back to top