From: Vegard Nossum Date: Sun, 14 Sep 2008 17:03:53 +0000 (+0200) Subject: x86: add memory clobber in switch_to() X-Git-Tag: v2.6.28-rc1~611^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33f8c40a30ae99e971d068c9ec6088e713c46f5f;p=pandora-kernel.git x86: add memory clobber in switch_to() Segment registers are reloaded, so we should add a memory clobber. The generated assembly code is identical in my tests, but this doesn't mean it is necessarily true for all configurations/compilers. x86_64 already has the memory clobber. Signed-off-by: Vegard Nossum Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed