diff options
| author | Michael Neuling <[email protected]> | 2007-11-20 15:18:40 +1100 |
|---|---|---|
| committer | Paul Mackerras <[email protected]> | 2007-11-20 16:10:28 +1100 |
| commit | 2b46b5673ca67d23302c2afac045def988a3cade (patch) | |
| tree | 02b291c7d8fe862e2ac76b22a4fc361e4620f0a3 /include/linux/debugobjects.h | |
| parent | c443acab2eebf12dce7e78fe29e76786f55ad1be (diff) | |
[POWERPC] Fix possible division by zero in scaled time accounting
If we get no user time and no system time allocated since the last
account_system_vtime, the system to user time ratio estimate can end
up dividing by zero.
This was causing a problem noticed by Balbir Singh.
Signed-off-by: Michael Neuling <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions