From: Cyrill Gorcunov Date: Wed, 13 Jan 2010 10:16:07 +0000 (+0000) Subject: x86: kernel_thread() -- initialize SS to a known state X-Git-Tag: v2.6.33-rc5~29^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=864a0922dd128392467611d9857e5138c6a91999;p=pandora-kernel.git x86: kernel_thread() -- initialize SS to a known state Before the kernel_thread was converted into "C" we had pt_regs::ss set to __KERNEL_DS (by SAVE_ALL asm macro). Though I must admit I didn't find any *explicit* load of %ss from this structure the better to be on a safe side and set it to a known value. Signed-off-by: Cyrill Gorcunov Signed-off-by: Ian Campbell Cc: Christian Kujau Cc: Jeremy Fitzhardinge Cc: Brian Gerst LKML-Reference: <1263377768-19600-1-git-send-email-ian.campbell@citrix.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed