[PATCH 4/5] perf: Make perf_event_wakeup() static

From: Namhyung Kim
Date: Mon Sep 27 2010 - 06:41:14 EST


Make perf_event_wakeup() static since it is called only in
static functions.

Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxx>
---
kernel/perf_event.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/perf_event.c b/kernel/perf_event.c
index fd26451..6611349 100644
--- a/kernel/perf_event.c
+++ b/kernel/perf_event.c
@@ -2845,7 +2845,7 @@ static const struct file_operations perf_fops = {
* to user-space before waking everybody up.
*/

-void perf_event_wakeup(struct perf_event *event)
+static void perf_event_wakeup(struct perf_event *event)
{
wake_up_all(&event->waitq);

--
1.7.2.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/