From: Thomas Petazzoni Date: Mon, 18 Aug 2008 10:33:20 +0000 (+0200) Subject: x86: make movsl_mask definition non-CPU specific X-Git-Tag: v2.6.28-rc1~699^2^8~5^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bfcb3960fde049b863266dab8c3617bb5a541aa;p=pandora-kernel.git x86: make movsl_mask definition non-CPU specific movsl_mask is currently defined in arch/x86/kernel/cpu/intel.c, which contains code specific to Intel CPUs. However, movsl_mask is used in the non-CPU specific code in arch/x86/lib/usercopy_32.c, which breaks the compilation when support for Intel CPUs is compiled out. This patch solves this problem by moving movsl_mask's definition close to its users in arch/x86/lib/usercopy_32.c. Signed-off-by: Thomas Petazzoni Cc: michael@free-electrons.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed