git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ftrace: nmi safe code modification
[safe/jmp/linux-2.6]
/
arch
/
sh
/
include
/
asm
/
ftrace.h
diff --git
a/arch/sh/include/asm/ftrace.h
b/arch/sh/include/asm/ftrace.h
index
3aed362
..
cdf2cb0
100644
(file)
--- a/
arch/sh/include/asm/ftrace.h
+++ b/
arch/sh/include/asm/ftrace.h
@@
-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