From 95cf75501c1f08ddc8db7d07c4b9222dfc754b9e Mon Sep 17 00:00:00 2001 From: Sasha Levin Date: Thu, 15 Mar 2012 12:36:13 -0400 Subject: [PATCH] --- yaml --- r: 288803 b: refs/heads/master c: f910381a55cdaa097030291f272f6e6e4380c39a h: refs/heads/master i: 288801: 71d80a12a848ee5fb6269083969e7e3d85adc7f7 288799: 4607d1f752d0556e4a9f7280d4316a151815b6e5 v: v3 --- [refs] | 2 +- trunk/include/linux/math64.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index b618b75e5aa7..205ddf54578c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c0a239233331f7d6d2256dde80cb19fd6f9b3542 +refs/heads/master: f910381a55cdaa097030291f272f6e6e4380c39a diff --git a/trunk/include/linux/math64.h b/trunk/include/linux/math64.h index 23fcdfcba81b..b8ba85544721 100644 --- a/trunk/include/linux/math64.h +++ b/trunk/include/linux/math64.h @@ -6,6 +6,8 @@ #if BITS_PER_LONG == 64 +#define div64_long(x,y) div64_s64((x),(y)) + /** * div_u64_rem - unsigned 64bit divide with 32bit divisor with remainder * @@ -45,6 +47,8 @@ static inline s64 div64_s64(s64 dividend, s64 divisor) #elif BITS_PER_LONG == 32 +#define div64_long(x,y) div_s64((x),(y)) + #ifndef div_u64_rem static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) {