diff options
author | Arnd Bergmann <[email protected]> | 2009-02-23 21:44:37 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2009-03-11 17:10:15 +1100 |
commit | 8f748aae4b5eda6a6ec3ab3554e7e19c7702ccc2 (patch) | |
tree | a21c57dd939fea9e14a96731c1b4613cc81e9fa0 /net/lapb/lapb_subr.c | |
parent | 9e1e3723be3828d6faac03ff6889e78cc0e64286 (diff) |
powerpc/spufs: Initialize ctx->stats.tstamp correctly
spuctx_switch_state() warns if ktime goes backwards, but it
sometimes compares an uninitialized value, which showed that
the data was unreliable when we actually saw the warning.
Initialize it to the current time in order to get correct data.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Jeremy Kerr <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions