diff options
| author | Bernardo Innocenti <bernie@develer.com> | 2003-07-11 19:35:48 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-07-11 19:35:48 -0700 |
| commit | ed08e6dfc28d810101c7665a72c73117888bc4a0 (patch) | |
| tree | e5dc521e13e0d4118c650968975418b958a0f2d0 /include/linux | |
| parent | 963436f3a5a06c2be3cbb5e8a33e355fbec2216b (diff) | |
[PATCH] asm-generic/div64.h breakage
- __div64_32(): remove __attribute_pure__ qualifier from the prototype
since this function obviously clobbers memory through &(n);
- do_div(): add a check to ensure (n) is type-compatible with uint64_t;
- as_update_iohist(): Use sector_div() instead of do_div().
(Whether the result of the addition should always be stored in 64bits
regardless of CONFIG_LBD is still being discussed, therefore it's
unadderessed here);
- Fix all places where do_div() was being called with a bad divisor argument.
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
