diff options
| author | Ben Collins <[email protected]> | 2007-05-23 13:57:43 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-23 20:14:12 -0700 |
| commit | 3c6df2a9177c010bf811c361149069e4bfd9bb11 (patch) | |
| tree | 151ece2576e9e2481057bc0107aba8c0cc864384 /include/linux/timerqueue.h | |
| parent | 6754bb4de94098a0aaa23a600f0edb9a9454c252 (diff) | |
Avoid zero size allocation in cache_k8_northbridges()
kmalloc for flush_words resulted in zero size allocation when no
k8_northbridges existed. Short circuit the code path for this case.
Also remove uneeded zeroing of num_k8_northbridges just after checking if
it is zero.
Signed-off-by: Ben Collins <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Dave Jones <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions