From: Jack Steiner Date: Wed, 17 Jun 2009 23:28:24 +0000 (-0700) Subject: gru: check context state on reload X-Git-Tag: v2.6.31-rc1~163 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=940229b9c0dcd9b6e1d64d0d26eba00238ddae98;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed