Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751212AbVLLOjT (ORCPT ); Mon, 12 Dec 2005 09:39:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751248AbVLLOjT (ORCPT ); Mon, 12 Dec 2005 09:39:19 -0500 Received: from cantor.suse.de ([195.135.220.2]:29670 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S1751212AbVLLOjS (ORCPT ); Mon, 12 Dec 2005 09:39:18 -0500 From: Andreas Schwab To: Miklos Szeredi Cc: ebiederm@xmission.com, akpm@osdl.org, linux-kernel@vger.kernel.org, pj@sgi.com, rth@twiddle.net, davej@redhat.com, zwane@arm.linux.org.uk, ak@suse.de, ashok.raj@intel.com Subject: Re: [PATCH] move pm_power_off and pm_idle declaration to common code References: X-Yow: ...A housewife is wearing a polypyrene jumpsuit!! Date: Mon, 12 Dec 2005 15:39:11 +0100 In-Reply-To: (Miklos Szeredi's message of "Mon, 12 Dec 2005 15:28:21 +0100") Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 855 Lines: 22 Miklos Szeredi writes: >> Does powerpc still build? A key question is how do we handle architectures >> that always want to want to call machine_power_off. > > I didn't (and can't) check, but it should. IIRC multiple declaration > of a variable is OK, as long as at most one has an initializer. And as long as you don't build with -fno-common. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra?e 5, 90409 N?rnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." - 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/