diff options
author | Bob Copeland <me@bobcopeland.com> | 2009-04-27 22:18:10 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-06 15:14:50 -0400 |
commit | 2516baa63bc7d05a6573a0f584135484ed182a87 (patch) | |
tree | ff2c1efd231d9c5d241be1d6b1374d07791b8122 /mm/page_isolation.c | |
parent | 35f00cfcc06bb85e0659f9847400518008d78145 (diff) |
ath5k: correct interrupt storm warning
Ben Greear points out that the "too many interrupts" message will
never print in the intended case since the interrupt counter
will be -1 after the loop. Change it to pre-decrement so it will
be 0 on the thousandth iteration.
Cc: Ben Greear <greearb@candelatech.com>
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'mm/page_isolation.c')
0 files changed, 0 insertions, 0 deletions