diff options
Diffstat (limited to 'include/linux/math64.h')
-rw-r--r-- | include/linux/math64.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/math64.h b/include/linux/math64.h index 23fcdfcba81b..b8ba85544721 100644 --- a/include/linux/math64.h +++ b/include/linux/math64.h | |||
@@ -6,6 +6,8 @@ | |||
6 | 6 | ||
7 | #if BITS_PER_LONG == 64 | 7 | #if BITS_PER_LONG == 64 |
8 | 8 | ||
9 | #define div64_long(x,y) div64_s64((x),(y)) | ||
10 | |||
9 | /** | 11 | /** |
10 | * div_u64_rem - unsigned 64bit divide with 32bit divisor with remainder | 12 | * div_u64_rem - unsigned 64bit divide with 32bit divisor with remainder |
11 | * | 13 | * |
@@ -45,6 +47,8 @@ static inline s64 div64_s64(s64 dividend, s64 divisor) | |||
45 | 47 | ||
46 | #elif BITS_PER_LONG == 32 | 48 | #elif BITS_PER_LONG == 32 |
47 | 49 | ||
50 | #define div64_long(x,y) div_s64((x),(y)) | ||
51 | |||
48 | #ifndef div_u64_rem | 52 | #ifndef div_u64_rem |
49 | static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) | 53 | static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) |
50 | { | 54 | { |