From: Jiang Liu Date: Fri, 27 Sep 2013 08:04:41 +0000 (+0100) Subject: arm64: fix possible invalid FPSIMD initialization state X-Git-Tag: v3.12-rc4~18^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6db83cea1c975b9a102e17def7d2795814e1ae2b;p=pandora-kernel.git arm64: fix possible invalid FPSIMD initialization state If context switching happens during executing fpsimd_flush_thread(), stale value in FPSIMD registers will be saved into current thread's fpsimd_state by fpsimd_thread_switch(). That may cause invalid initialization state for the new process, so disable preemption when executing fpsimd_flush_thread(). Signed-off-by: Jiang Liu Cc: Jiang Liu Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed