summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2019-07-23 22:37:51 +0200
committerHelge Deller <deller@gmx.de>2019-08-03 08:56:57 +0200
commitd562aca37a543cc3de85be6a6946771a27d50c6a (patch)
tree1b42c983b0af031d9fe970a6a253b111c570d441 /arch/parisc/include
parentMerge tag 'for-linus-5.3a-rc3-tag' of git://git.kernel.org/pub/scm/linux/kern... (diff)
downloadlinux-d562aca37a543cc3de85be6a6946771a27d50c6a.tar.xz
linux-d562aca37a543cc3de85be6a6946771a27d50c6a.zip
parisc/ftrace: Add ARCH_SUPPORTS_FTRACE_OPS support
Pass ftrace_ops to ftrace functions to ftrace_trace_function(). Signed-off-by: Sven Schnelle <svens@stackframe.org> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include')
-rw-r--r--arch/parisc/include/asm/ftrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/ftrace.h b/arch/parisc/include/asm/ftrace.h
index 958c0aa5dbb2..a7cf0d05ccf4 100644
--- a/arch/parisc/include/asm/ftrace.h
+++ b/arch/parisc/include/asm/ftrace.h
@@ -8,6 +8,7 @@ extern void mcount(void);
#define MCOUNT_ADDR ((unsigned long)mcount)
#define MCOUNT_INSN_SIZE 4
#define CC_USING_NOP_MCOUNT
+#define ARCH_SUPPORTS_FTRACE_OPS 1
extern unsigned long sys_call_table[];
extern unsigned long return_address(unsigned int);