Revision 24204ad7400939648eb84b142fc8c1d8198ce12f authored by Jason Self on 02 February 2009, 17:10:57 UTC, committed by Jason Self on 02 February 2009, 17:10:57 UTC
0 parent
reciprocal_div.c
#include <asm/div64.h>
#include <linux/reciprocal_div.h>
u32 reciprocal_value(u32 k)
{
u64 val = (1LL << 32) + (k - 1);
do_div(val, k);
return (u32)val;
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...