commit | 2490c681ea3d7f5ac3fb876f14567bf1a9e0aa87 | [log] [tgz] |
---|---|---|
author | David Smith <dds@google.com> | Mon Jan 14 00:55:12 2008 -0800 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Mon Jan 14 08:52:22 2008 -0800 |
tree | 1e5f1e5280cacc2db866a9f08b04d52702596898 | |
parent | 40d6a146629b98d8e322b6f9332b182c7cbff3df [diff] |
TPM: fix suspend and resume failure The savestate command structure was being overwritten by the result of running the TPM_SaveState command after one run, so make it a local variable to the function instead of a global variable that gets overwritten. Acked-by: Pavel Machek <pavel@ucw.cz> Cc: Kent Yoder <shpedoikal@gmail.com> Cc: Marcel Selhorst <tpm@selhorst.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>