lkml.org 
[lkml]   [2010]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] kernel: trace: trace_kprobe.c: removed duplicated #include
    * Andrea Gelmini (andrea.gelmini@gelma.net) wrote:
    > Removed linux/uaccess.h

    ... and cleans up a whitespace.

    Mathieu

    >
    > Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
    > ---
    > kernel/trace/trace_kprobe.c | 3 +--
    > 1 files changed, 1 insertions(+), 2 deletions(-)
    >
    > diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c
    > index 544301d..c5fb747 100644
    > --- a/kernel/trace/trace_kprobe.c
    > +++ b/kernel/trace/trace_kprobe.c
    > @@ -18,7 +18,6 @@
    > */
    >
    > #include <linux/module.h>
    > -#include <linux/uaccess.h>
    > #include <linux/kprobes.h>
    > #include <linux/seq_file.h>
    > #include <linux/slab.h>
    > @@ -479,7 +478,7 @@ struct probe_arg {
    > struct trace_probe {
    > struct list_head list;
    > struct kretprobe rp; /* Use rp.kp for kprobe use */
    > - unsigned long nhit;
    > + unsigned long nhit;
    > unsigned int flags; /* For TP_FLAG_* */
    > const char *symbol; /* symbol name */
    > struct ftrace_event_class class;
    > --
    > 1.7.3.1.181.g784b8
    >

    --
    Mathieu Desnoyers
    Operating System Efficiency R&D Consultant
    EfficiOS Inc.
    http://www.efficios.com


    \
     
     \ /
      Last update: 2010-10-15 21:59    [W:0.036 / U:29.476 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site