diff options
author | Jack Steiner <steiner@sgi.com> | 2009-06-17 16:28:24 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 13:04:00 -0700 |
commit | 940229b9c0dcd9b6e1d64d0d26eba00238ddae98 (patch) | |
tree | 62df332cc772d692af3bce50de8b9210dafead3d /kernel/wait.c | |
parent | 17b49a67a6a59f0e9f3c22e67ddb602410e8e182 (diff) | |
download | op-kernel-dev-940229b9c0dcd9b6e1d64d0d26eba00238ddae98.zip op-kernel-dev-940229b9c0dcd9b6e1d64d0d26eba00238ddae98.tar.gz |
gru: check context state on reload
Check whether the gru state being loaded into a gru is from a new context
or a previously unloaded context. If new, simply zero out the hardware
context; if unloaded and valid, reload the old state.
This change is primarily for reloading kernel contexts where the previous
is not required to be saved.
Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/wait.c')
0 files changed, 0 insertions, 0 deletions