aboutsummaryrefslogtreecommitdiffstats
path: root/arch/metag/include/asm/ftrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/metag/include/asm/ftrace.h')
-rw-r--r--arch/metag/include/asm/ftrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/metag/include/asm/ftrace.h b/arch/metag/include/asm/ftrace.h
index 2901f0f7d944..a2269d60a945 100644
--- a/arch/metag/include/asm/ftrace.h
+++ b/arch/metag/include/asm/ftrace.h
@@ -6,7 +6,7 @@
#ifndef __ASSEMBLY__
extern void mcount_wrapper(void);
-#define MCOUNT_ADDR ((long)(mcount_wrapper))
+#define MCOUNT_ADDR ((unsigned long)(mcount_wrapper))
static inline unsigned long ftrace_call_adjust(unsigned long addr)
{