From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261437AbULFAmC (ORCPT ); Sun, 5 Dec 2004 19:42:02 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261440AbULFAmB (ORCPT ); Sun, 5 Dec 2004 19:42:01 -0500 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:21259 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S261437AbULFAlc (ORCPT ); Sun, 5 Dec 2004 19:41:32 -0500 Date: Mon, 6 Dec 2004 01:41:27 +0100 From: Adrian Bunk To: linux-kernel@vger.kernel.org Cc: pazke@donpac.ru, linux-visws-devel@lists.sf.net, James.Bottomley@HansenPartnership.com Subject: [2.6 patch] i386: reboot.c cleanups Message-ID: <20041206004127.GH2953@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org The partch below includes the following changes: - arch/i386/kernel/reboot.c: make reboot_thru_bios static - arch/i386/mach-visws/reboot.c: remove the unused reboot_thru_bios and reboot_smp - arch/i386/mach-voyager/voyager_basic.c: remove the unused reboot_thru_bios - arch/i386/mach-voyager/voyager_smp.c: remove the unused reboot_smp diffstat output: arch/i386/kernel/reboot.c | 2 +- arch/i386/mach-visws/reboot.c | 3 --- arch/i386/mach-voyager/voyager_basic.c | 2 -- arch/i386/mach-voyager/voyager_smp.c | 2 -- 4 files changed, 1 insertion(+), 8 deletions(-) Signed-off-by: Adrian Bunk --- linux-2.6.10-rc2-mm4-full/arch/i386/kernel/process.c.old 2004-12-06 01:25:27.000000000 +0100 +++ linux-2.6.10-rc2-mm4-full/arch/i386/kernel/process.c 2004-12-06 01:25:38.000000000 +0100 @@ -60,7 +60,7 @@ asmlinkage void ret_from_fork(void) __asm__("ret_from_fork"); -int hlt_counter; +static int hlt_counter; unsigned long boot_option_idle_override = 0; EXPORT_SYMBOL(boot_option_idle_override); --- linux-2.6.10-rc2-mm4-full/arch/parisc/kernel/process.c.old 2004-12-06 01:25:55.000000000 +0100 +++ linux-2.6.10-rc2-mm4-full/arch/parisc/kernel/process.c 2004-12-06 01:26:01.000000000 +0100 @@ -54,7 +54,7 @@ #include #include -int hlt_counter; +static int hlt_counter; /* * Power off function, if any --- linux-2.6.10-rc2-mm4-full/arch/x86_64/kernel/process.c.old 2004-12-06 01:26:17.000000000 +0100 +++ linux-2.6.10-rc2-mm4-full/arch/x86_64/kernel/process.c 2004-12-06 01:26:28.000000000 +0100 @@ -53,7 +53,7 @@ unsigned long kernel_thread_flags = CLONE_VM | CLONE_UNTRACED; -atomic_t hlt_counter = ATOMIC_INIT(0); +static atomic_t hlt_counter = ATOMIC_INIT(0); unsigned long boot_option_idle_override = 0; EXPORT_SYMBOL(boot_option_idle_override);