From: Eugene Teo Date: Sat, 9 Feb 2008 15:53:17 +0000 (+0800) Subject: lguest: make sure cpu is initialized before accessing it X-Git-Tag: v2.6.25-rc6~49^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f73d1e6ca6985b43a1871467463cba632fbc624d;p=pandora-kernel.git lguest: make sure cpu is initialized before accessing it If req is LHREQ_INITIALIZE, and the guest has been initialized before (unlikely), it will attempt to access cpu->tsk even though cpu is not yet initialized. Signed-off-by: Eugene Teo Signed-off-by: Rusty Russell --- Reading git-diff-tree failed