Skip to content

Commit

Permalink
ftrace: fix incorrect comment style of __ftrace_enabled_save()
Browse files Browse the repository at this point in the history
This patch fixes incorrect comment style of __ftrace_enabled_save().

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Huang Ying authored and Ingo Molnar committed Oct 14, 2008
1 parent 99ecdc4 commit 3700273
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/linux/ftrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,11 @@ static inline void tracer_disable(void)
#endif
}

/* Ftrace disable/restore without lock. Some synchronization mechanism
/*
* Ftrace disable/restore without lock. Some synchronization mechanism
* must be used to prevent ftrace_enabled to be changed between
* disable/restore. */
* disable/restore.
*/
static inline int __ftrace_enabled_save(void)
{
#ifdef CONFIG_FTRACE
Expand Down

0 comments on commit 3700273

Please sign in to comment.