From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757535AbYFZBE4 (ORCPT ); Wed, 25 Jun 2008 21:04:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756617AbYFZBBr (ORCPT ); Wed, 25 Jun 2008 21:01:47 -0400 Received: from wa-out-1112.google.com ([209.85.146.180]:2779 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755097AbYFZBBn (ORCPT ); Wed, 25 Jun 2008 21:01:43 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=KTtvyUQRJSZAen1XnqdOvhGK/zGEiZa4+CA3VJJWf/RM4B7XVPpqbfEHlRODIs1LX9 TLLuBeHCYo1j7lodoIyXtPHdLZPpRJ0Er0emFFOaRoCjlxxZHlSKCYJ7CzRsJIl9JUZM MIyDPBNjzaVICpclWDT6jdiTZqfTmZChSjAt0= From: Yinghai Lu Reply-To: Yinghai Lu To: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" Subject: [PATCH 08/16] x86: rename setup_32.c to setup.c Date: Wed, 25 Jun 2008 17:54:23 -0700 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: "linux-kernel@vger.kernel.org" References: <200806251748.06743.yhlu.kernel@gmail.com> In-Reply-To: <200806251748.06743.yhlu.kernel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806251754.24203.yhlu.kernel@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org and let 64 bit use that instead of setup_64.c Signed-off-by: Yinghai Lu --- arch/x86/kernel/Makefile | 2 arch/x86/kernel/setup.c | 671 +++++++++++++++++++++++++++++++++++++++++++++ arch/x86/kernel/setup_32.c | 671 --------------------------------------------- arch/x86/kernel/setup_64.c | 380 ------------------------- 4 files changed, 672 insertions(+), 1052 deletions(-) Index: linux-2.6/arch/x86/kernel/Makefile =================================================================== --- linux-2.6.orig/arch/x86/kernel/Makefile +++ linux-2.6/arch/x86/kernel/Makefile @@ -26,7 +26,7 @@ CFLAGS_paravirt.o := $(nostackp) obj-y := process_$(BITS).o signal_$(BITS).o entry_$(BITS).o obj-y += traps_$(BITS).o irq_$(BITS).o obj-y += time_$(BITS).o ioport.o ldt.o -obj-y += setup_$(BITS).o i8259.o irqinit_$(BITS).o setup_percpu.o +obj-y += setup.o i8259.o irqinit_$(BITS).o setup_percpu.o obj-$(CONFIG_X86_32) += probe_roms_32.o obj-$(CONFIG_X86_32) += sys_i386_32.o i386_ksyms_32.o obj-$(CONFIG_X86_64) += sys_x86_64.o x8664_ksyms_64.o Index: linux-2.6/arch/x86/kernel/setup.c =================================================================== --- /dev/null +++ linux-2.6/arch/x86/kernel/setup.c @@ -0,0 +1,671 @@ +/* + * Copyright (C) 1995 Linus Torvalds + * + * Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999 + * + * Memory region support + * David Parsons , July-August 1999 + * + * Added E820 sanitization routine (removes overlapping memory regions); + * Brian Moyle , February 2001 + * + * Moved CPU detection code to cpu/${cpu}.c + * Patrick Mochel , March 2002 + * + * Provisions for empty E820 memory regions (reported by certain BIOSes). + * Alex Achenbach , December 2002. + * + */ + +/* + * This file handles the architecture-dependent parts of initialization + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include