diff options
author | Brice Goglin <brice@myri.com> | 2006-12-18 11:50:00 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-26 16:28:20 -0500 |
commit | 7adda30c82f403c948b016a40fc68a1ef427dbca (patch) | |
tree | 1f0ad543783903fec30fc593d0315feaa2fd6890 /drivers/serial/8250.h | |
parent | a27993f3d9daca0dffa26577a83822db99c952e2 (diff) | |
download | blackbird-op-linux-7adda30c82f403c948b016a40fc68a1ef427dbca.tar.gz blackbird-op-linux-7adda30c82f403c948b016a40fc68a1ef427dbca.zip |
myri10ge: match number of save_state and restore
Since pci_save_state() pushes MSI and PCIe states on a kind of stack,
myri10ge saving the state in advance for parity recovery will push the
state again on the stack on suspend. This leads to some memory leak.
We add a couple additional calls to save_state and restore_state so
that we don't leak anymore.
For the future, we are thinking of a better way to recover from parity
error without using pci_save_state().
Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/serial/8250.h')
0 files changed, 0 insertions, 0 deletions