06 Oct, 2012
1 commit
-
Account for all properties when a and/or b are 0:
gcd(0, 0) = 0
gcd(a, 0) = a
gcd(0, b) = bFixes no known problems in current kernels.
Signed-off-by: Davidlohr Bueso
Cc: Eric Dumazet
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
08 Mar, 2012
1 commit
-
For files only using THIS_MODULE and/or EXPORT_SYMBOL, map
them onto including export.h -- or if the file isn't even
using those, then just delete the include. Fix up any implicit
include dependencies that were being masked by module.h along
the way.Signed-off-by: Paul Gortmaker
19 Jun, 2009
1 commit
-
This patch adds lib/gcd.c which contains a greatest common divider
implementation taken from sound/core/pcm_timer.cSeveral usages of this new library function will be sent to subsystem
maintainers.[akpm@linux-foundation.org: use swap() (pointed out by Joe)]
[akpm@linux-foundation.org: just add gcd.o to obj-y, remove Kconfig changes]
Signed-off-by: Florian Fainelli
Cc: Sergei Shtylyov
Cc: Takashi Iwai
Cc: Simon Horman
Cc: Julius Volz
Cc: David S. Miller
Cc: Patrick McHardy
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds