aboutsummaryrefslogtreecommitdiff
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/include/asm/ftrace.h b/arch/sparc/include/asm/ftrace.h
index 33a95feeb13..62055ac0496 100644
--- a/arch/sparc/include/asm/ftrace.h
+++ b/arch/sparc/include/asm/ftrace.h
@@ -2,8 +2,8 @@
#define _ASM_SPARC64_FTRACE
#ifndef __ASSEMBLY__
-#define ftrace_nmi_enter() do { } while (0)
-#define ftrace_nmi_exit() do { } while (0)
+static inline void ftrace_nmi_enter(void) { }
+static inline void ftrace_nmi_exit(void) { }
#endif
#ifdef CONFIG_MCOUNT