[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140612143549.4c00c1ed@kant>
Date: Thu, 12 Jun 2014 14:35:49 +0200
From: Stefan Richter <stefanr@...6.in-berlin.de>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: LKML <linux-kernel@...r.kernel.org>,
John Stultz <john.stultz@...aro.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>
Subject: Re: [patch 08/13] firewire: Use ktime_get_ts()
On Jun 11 Thomas Gleixner wrote:
> do_posix_clock_monotonic_gettime() is a leftover from the initial
> posix timer implementation which maps to ktime_get_ts()
>
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> Cc: Stefan Richter <stefanr@...6.in-berlin.de>
Acked-by: Stefan Richter <stefanr@...6.in-berlin.de>
(Though I am noticing increasing entropy WRT whitespace.)
> ---
> drivers/firewire/core-cdev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux/drivers/firewire/core-cdev.c
> ===================================================================
> --- linux.orig/drivers/firewire/core-cdev.c
> +++ linux/drivers/firewire/core-cdev.c
> @@ -1215,7 +1215,7 @@ static int ioctl_get_cycle_timer2(struct
>
> switch (a->clk_id) {
> case CLOCK_REALTIME: getnstimeofday(&ts); break;
> - case CLOCK_MONOTONIC: do_posix_clock_monotonic_gettime(&ts); break;
> + case CLOCK_MONOTONIC: ktime_get_ts(&ts); break;
> case CLOCK_MONOTONIC_RAW: getrawmonotonic(&ts); break;
> default:
> ret = -EINVAL;
>
>
--
Stefan Richter
-=====-====- -==- -==--
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists