ftrace: nmi safe code modification
[safe/jmp/linux-2.6] / arch / sh / include / asm / ftrace.h
index 3aed362..cdf2cb0 100644 (file)
@@ -2,6 +2,11 @@
 #define __ASM_SH_FTRACE_H
 
 #ifndef __ASSEMBLY__
+#define ftrace_nmi_enter()     do { } while (0)
+#define ftrace_nmi_exit()      do { } while (0)
+#endif
+
+#ifndef __ASSEMBLY__
 extern void mcount(void);
 #endif