Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
ipipe-x86
Commits
97d0bb8d
Commit
97d0bb8d
authored
Feb 17, 2009
by
Ingo Molnar
Browse files
ftrace: fix !CONFIG_FTRACE [un_]register_ftrace_command() prototypes
Impact: build fix Signed-off-by:
Ingo Molnar
<
mingo@elte.hu
>
parent
f492d3f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/linux/ftrace.h
View file @
97d0bb8d
...
...
@@ -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 */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment