From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933069AbaFLKmW (ORCPT ); Thu, 12 Jun 2014 06:42:22 -0400 Received: from cantor2.suse.de ([195.135.220.15]:51041 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932916AbaFLKmV (ORCPT ); Thu, 12 Jun 2014 06:42:21 -0400 Date: Thu, 12 Jun 2014 12:42:19 +0200 Message-ID: From: Takashi Iwai To: Thomas Gleixner Cc: LKML , John Stultz , Peter Zijlstra , Ingo Molnar , Jaroslav Kysela Subject: Re: [patch 05/13] sound: Use ktime_get_ts() In-Reply-To: <20140611234607.110555376@linutronix.de> References: <20140611234024.103571777@linutronix.de> <20140611234607.110555376@linutronix.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Wed, 11 Jun 2014 23:59:14 -0000, 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 > Cc: Jaroslav Kysela > Cc: Takashi Iwai Shall I apply these patches 5 and 6 to sound git tree, or would you like to apply all in tip tree instead? In the latter case, feel free to take my ack for both patches: Reviewed-by: Takashi Iwai thanks, Takashi > --- > include/sound/pcm.h | 2 +- > sound/core/timer.c | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > > Index: linux/include/sound/pcm.h > =================================================================== > --- linux.orig/include/sound/pcm.h > +++ linux/include/sound/pcm.h > @@ -932,7 +932,7 @@ static inline void snd_pcm_gettime(struc > struct timespec *tv) > { > if (runtime->tstamp_type == SNDRV_PCM_TSTAMP_TYPE_MONOTONIC) > - do_posix_clock_monotonic_gettime(tv); > + ktime_get_ts(tv); > else > getnstimeofday(tv); > } > Index: linux/sound/core/timer.c > =================================================================== > --- linux.orig/sound/core/timer.c > +++ linux/sound/core/timer.c > @@ -390,7 +390,7 @@ static void snd_timer_notify1(struct snd > struct timespec tstamp; > > if (timer_tstamp_monotonic) > - do_posix_clock_monotonic_gettime(&tstamp); > + ktime_get_ts(&tstamp); > else > getnstimeofday(&tstamp); > if (snd_BUG_ON(event < SNDRV_TIMER_EVENT_START || > @@ -1203,7 +1203,7 @@ static void snd_timer_user_tinterrupt(st > } > if (tu->last_resolution != resolution || ticks > 0) { > if (timer_tstamp_monotonic) > - do_posix_clock_monotonic_gettime(&tstamp); > + ktime_get_ts(&tstamp); > else > getnstimeofday(&tstamp); > } > >