summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/ftrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/ftrace.h')
-rw-r--r--arch/sparc/include/asm/ftrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/ftrace.h b/arch/sparc/include/asm/ftrace.h
index 9ec94ad116fb..3192a8e42fd6 100644
--- a/arch/sparc/include/asm/ftrace.h
+++ b/arch/sparc/include/asm/ftrace.h
@@ -2,7 +2,7 @@
#define _ASM_SPARC64_FTRACE
#ifdef CONFIG_MCOUNT
-#define MCOUNT_ADDR ((long)(_mcount))
+#define MCOUNT_ADDR ((unsigned long)(_mcount))
#define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
#ifndef __ASSEMBLY__