Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264558AbUAJA5X (ORCPT ); Fri, 9 Jan 2004 19:57:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264553AbUAJA5X (ORCPT ); Fri, 9 Jan 2004 19:57:23 -0500 Received: from hermes.fachschaften.tu-muenchen.de ([129.187.202.12]:30931 "HELO hermes.fachschaften.tu-muenchen.de") by vger.kernel.org with SMTP id S264558AbUAJA5Q (ORCPT ); Fri, 9 Jan 2004 19:57:16 -0500 Date: Sat, 10 Jan 2004 01:57:12 +0100 From: Adrian Bunk To: Nick Piggin Cc: Matt Mackall , linux-kernel Subject: [2/4] move "struct movsl_mask movsl_mask" to usercopy.c Message-ID: <20040110005712.GE25089@fs.tum.de> References: <20040106054859.GA18208@waste.org> <3FFA56D6.6040808@cyberone.com.au> <20040106064607.GB18208@waste.org> <3FFA5ED3.6040000@cyberone.com.au> <20040110004625.GB25089@fs.tum.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040110004625.GB25089@fs.tum.de> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1478 Lines: 49 - move "struct movsl_mask movsl_mask" to usercopy.c (CONFIG_X86_INTEL_USERCOPY is used on non-Intel CPUs) diffstat output: arch/i386/kernel/cpu/intel.c | 7 ------- arch/i386/lib/usercopy.c | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) --- linux-2.6.0-test5-mm4/arch/i386/kernel/cpu/intel.c.old 2003-09-25 14:33:21.000000000 +0200 +++ linux-2.6.0-test5-mm4/arch/i386/kernel/cpu/intel.c 2003-09-25 14:33:36.000000000 +0200 @@ -12,13 +12,6 @@ #include "cpu.h" -#ifdef CONFIG_X86_INTEL_USERCOPY -/* - * Alignment at which movsl is preferred for bulk memory copies. - */ -struct movsl_mask movsl_mask; -#endif - /* * Early probe support logic for ppro memory erratum #50 * --- linux-2.6.0-test5-mm4/arch/i386/lib/usercopy.c.old 2003-09-25 14:33:31.000000000 +0200 +++ linux-2.6.0-test5-mm4/arch/i386/lib/usercopy.c 2003-09-25 14:33:36.000000000 +0200 @@ -12,6 +12,13 @@ #include #include +#ifdef CONFIG_X86_INTEL_USERCOPY +/* + * Alignment at which movsl is preferred for bulk memory copies. + */ +struct movsl_mask movsl_mask; +#endif + static inline int __movsl_is_ok(unsigned long a1, unsigned long a2, unsigned long n) { #ifdef CONFIG_X86_INTEL_USERCOPY - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/