lkml.org 
[lkml]   [2010]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4/5] perf: Make perf_event_wakeup() static
    Date
    Make perf_event_wakeup() static since it is called only in
    static functions.

    Signed-off-by: Namhyung Kim <namhyung@gmail.com>
    ---
    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


    \
     
     \ /
      Last update: 2010-09-27 20:11    [W:0.018 / U:30.648 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site