Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 322a8b034003c0d46d39af85bf24fee27b902f48 authored by Linus Torvalds on 08 August 2011, 01:23:30 UTC
Linux 3.1-rc1
Tip revision: 322a8b0
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)

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

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

#endif /* __ASSEMBLY__ */
#endif /* _ASM_S390_FTRACE_H */
back to top