projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f492d3f
)
ftrace: fix !CONFIG_FTRACE [un_]register_ftrace_command() prototypes
author
Ingo Molnar
<mingo@elte.hu>
Tue, 17 Feb 2009 10:47:39 +0000
(11:47 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 17 Feb 2009 10:47:39 +0000
(11:47 +0100)
Impact: build fix
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/ftrace.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/ftrace.h
b/include/linux/ftrace.h
index b331e216d8a1a8fef4cc25725d9d5e35a160fbd4..63281228ce3e10fefd1111371752260b9c85f3f1 100644
(file)
--- a/
include/linux/ftrace.h
+++ b/
include/linux/ftrace.h
@@
-238,9
+238,11
@@
extern void ftrace_enable_daemon(void);
static inline void ftrace_release(void *start, unsigned long size) { }
static inline int register_ftrace_command(struct ftrace_func_command *cmd)
{
+ return -EINVAL;
}
static inline int unregister_ftrace_command(char *cmd_name)
{
+ return -EINVAL;
}
#endif /* CONFIG_DYNAMIC_FTRACE */