From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422812AbXCGRmK (ORCPT ); Wed, 7 Mar 2007 12:42:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422811AbXCGRPf (ORCPT ); Wed, 7 Mar 2007 12:15:35 -0500 Received: from ns2.suse.de ([195.135.220.15]:43207 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422812AbXCGRPJ (ORCPT ); Wed, 7 Mar 2007 12:15:09 -0500 Message-Id: <20070307171331.787621191@mini.kroah.org> References: <20070307171035.150802805@mini.kroah.org> User-Agent: quilt/0.45-1 Date: Wed, 07 Mar 2007 09:11:16 -0800 From: Greg KH To: linux-kernel@vger.kernel.org, stable@kernel.org Cc: Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , Chuck Ebbert , torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Andi Kleen Subject: [patch 041/101] x86_64: Fix wrong gcc check in bitops.h Content-Disposition: inline; filename=x86_64-fix-wrong-gcc-check-in-bitops.h.patch Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org gcc 5.0 will likely not have the constraint problem Signed-off-by: Andi Kleen Signed-off-by: Greg Kroah-Hartman --- include/asm-x86_64/bitops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.20.1.orig/include/asm-x86_64/bitops.h +++ linux-2.6.20.1/include/asm-x86_64/bitops.h @@ -7,7 +7,7 @@ #include -#if __GNUC__ < 4 || __GNUC_MINOR__ < 1 +#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1) /* Technically wrong, but this avoids compilation errors on some gcc versions. */ #define ADDR "=m" (*(volatile long *) addr) --