x86: make movsl_mask definition non-CPU specific
commit8bfcb3960fde049b863266dab8c3617bb5a541aa
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 18 Aug 2008 10:33:20 +0000 (18 12:33 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 18 Aug 2008 14:05:45 +0000 (18 16:05 +0200)
treeb658f2337d46d7f818eecc1be1e2ce76f57a32d0
parent1a10390708d675ebf1a2f5e169a5165626afbd88
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 <thomas.petazzoni@free-electrons.com>
Cc: michael@free-electrons.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/intel.c
arch/x86/lib/usercopy_32.c