| Date | Fri, 26 Jul 2019 15:57:47 -0400 | From | Steven Rostedt <> | Subject | Re: [patch 01/12] hrtimer: Remove task argument from hrtimer_init_sleeper() |
| |
On Fri, 26 Jul 2019 20:30:49 +0200 Thomas Gleixner <tglx@linutronix.de> wrote:
> --- a/kernel/time/hrtimer.c > +++ b/kernel/time/hrtimer.c > @@ -1639,10 +1639,10 @@ static enum hrtimer_restart hrtimer_wake > return HRTIMER_NORESTART; > } >
Not related to the change of this patch, but I'm surprised that a global function like this doesn't contain any kerneldoc information.
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-- Steve
> -void hrtimer_init_sleeper(struct hrtimer_sleeper *sl, struct task_struct *task) > +void hrtimer_init_sleeper(struct hrtimer_sleeper *sl) > { > sl->timer.function = hrtimer_wakeup; > - sl->task = task; > + sl->task = current; > } > EXPORT_SYMBOL_GPL(hrtimer_init_sleeper); >
|