diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-03-19 20:02:01 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-03-19 20:02:01 -0400 |
| commit | 10ce3cc919f50c2043b41ca968b43c26a3672600 (patch) | |
| tree | ea409366a5208aced495bc0516a08b81fd43222e /lib/reciprocal_div.c | |
| parent | 24e3e5ae1e4c2a3a32f5b1f96b4e3fd721806acd (diff) | |
| parent | 5c6a7a62c130afef3d61c1dee153012231ff5cd9 (diff) | |
Merge branch 'next' into for-linus
Diffstat (limited to 'lib/reciprocal_div.c')
| -rw-r--r-- | lib/reciprocal_div.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/reciprocal_div.c b/lib/reciprocal_div.c index 6a3bd48fa2a0..75510e94f7d0 100644 --- a/lib/reciprocal_div.c +++ b/lib/reciprocal_div.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | #include <asm/div64.h> | 1 | #include <asm/div64.h> |
| 2 | #include <linux/reciprocal_div.h> | 2 | #include <linux/reciprocal_div.h> |
| 3 | #include <linux/export.h> | ||
| 3 | 4 | ||
| 4 | u32 reciprocal_value(u32 k) | 5 | u32 reciprocal_value(u32 k) |
| 5 | { | 6 | { |
| @@ -7,3 +8,4 @@ u32 reciprocal_value(u32 k) | |||
| 7 | do_div(val, k); | 8 | do_div(val, k); |
| 8 | return (u32)val; | 9 | return (u32)val; |
| 9 | } | 10 | } |
| 11 | EXPORT_SYMBOL(reciprocal_value); | ||
