summaryrefslogtreecommitdiffstats
path: root/kernel/arch/sparc/include/asm/ftrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/sparc/include/asm/ftrace.h')
-rw-r--r--kernel/arch/sparc/include/asm/ftrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/arch/sparc/include/asm/ftrace.h b/kernel/arch/sparc/include/asm/ftrace.h
index 9ec94ad11..3192a8e42 100644
--- a/kernel/arch/sparc/include/asm/ftrace.h
+++ b/kernel/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__