lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 12 Jun 2014 12:42:19 +0200 From: Takashi Iwai <tiwai@...e.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>, Jaroslav Kysela <perex@...ex.cz> Subject: Re: [patch 05/13] sound: Use ktime_get_ts() 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 <tglx@...utronix.de> > Cc: Jaroslav Kysela <perex@...ex.cz> > Cc: Takashi Iwai <tiwai@...e.de> 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 <tiwai@...e.de> 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); > } > > -- 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