The patch titled sound/core/pcm_timer.c: use lib/gcd.c has been removed from the -mm tree. Its filename was sound-core-pcm_timerc-use-lib-gcdc.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: sound/core/pcm_timer.c: use lib/gcd.c From: Florian Fainelli <florian@xxxxxxxxxxx> Make sound/core/pcm_timer.c use lib/gcd.c Signed-off-by: Florian Fainelli <florian@xxxxxxxxxxx> Cc: Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx> Cc: Takashi Iwai <tiwai@xxxxxxx> Cc: Simon Horman <horms@xxxxxxxxxxxx> Cc: Julius Volz <juliusv@xxxxxxxxxx> Cc: David S. Miller <davem@xxxxxxxxxxxxx> Cc: Patrick McHardy <kaber@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- sound/core/Kconfig | 1 + sound/core/pcm_timer.c | 17 +---------------- 2 files changed, 2 insertions(+), 16 deletions(-) diff -puN sound/core/Kconfig~sound-core-pcm_timerc-use-lib-gcdc sound/core/Kconfig --- a/sound/core/Kconfig~sound-core-pcm_timerc-use-lib-gcdc +++ a/sound/core/Kconfig @@ -5,6 +5,7 @@ config SND_TIMER config SND_PCM tristate select SND_TIMER + select GCD config SND_HWDEP tristate diff -puN sound/core/pcm_timer.c~sound-core-pcm_timerc-use-lib-gcdc sound/core/pcm_timer.c --- a/sound/core/pcm_timer.c~sound-core-pcm_timerc-use-lib-gcdc +++ a/sound/core/pcm_timer.c @@ -20,6 +20,7 @@ */ #include <linux/time.h> +#include <linux/gcd.h> #include <sound/core.h> #include <sound/pcm.h> #include <sound/timer.h> @@ -28,22 +29,6 @@ * Timer functions */ -/* Greatest common divisor */ -static unsigned long gcd(unsigned long a, unsigned long b) -{ - unsigned long r; - if (a < b) { - r = a; - a = b; - b = r; - } - while ((r = a % b) != 0) { - a = b; - b = r; - } - return b; -} - void snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream) { unsigned long rate, mult, fsize, l, post; _ Patches currently in -mm which might be from florian@xxxxxxxxxxx are linux-next.patch net-netfilter-ipvs-ip_vs_wrrc-use-lib-gcdc.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html