Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751445AbVKDNbU (ORCPT ); Fri, 4 Nov 2005 08:31:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751421AbVKDNbU (ORCPT ); Fri, 4 Nov 2005 08:31:20 -0500 Received: from mta09-winn.ispmail.ntl.com ([81.103.221.49]:57283 "EHLO mta09-winn.ispmail.ntl.com") by vger.kernel.org with ESMTP id S1751422AbVKDNbT (ORCPT ); Fri, 4 Nov 2005 08:31:19 -0500 Message-ID: <436B62A5.8040904@gentoo.org> Date: Fri, 04 Nov 2005 13:31:17 +0000 From: Daniel Drake User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051104) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "alpha @ steudten Engineering" CC: LinuxAlpha , LKML Subject: Re: ALPHA: missing reference to barrier() References: <436B3730.2090705@steudten.org> In-Reply-To: <436B3730.2090705@steudten.org> Content-Type: multipart/mixed; boundary="------------090107030603060306050308" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1881 Lines: 62 This is a multi-part message in MIME format. --------------090107030603060306050308 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit alpha @ steudten Engineering wrote: > ONLY for linux ALPHA: > > Please add patch to the source tree.. > > Hello > > In the kernel source 2.6.14 from kernel.org build with the given config1, the > symbol barrier() is missing in linux/include/asm-alpha/atomic.h with gcc 4.0.1 from > FC4. > > This is defined in linux/compiler.h or asm/compiler.h. An alternative patch has already been merged into Linus' git tree. It should fix your problem. Daniel --------------090107030603060306050308 Content-Type: text/x-patch; name="1305_alpha-barrier-compile.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="1305_alpha-barrier-compile.patch" From: Ivan Kokshaysky Date: Sun, 30 Oct 2005 01:15:43 +0000 (-0700) Subject: [PATCH] fix alpha breakage X-Git-Url: http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=63f324cf0792ed69089b79d6921ba3aaea97af50 [PATCH] fix alpha breakage barrier.h uses barrier() in non-SMP case. And doesn't include compiler.h. Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- --- a/include/asm-alpha/barrier.h +++ b/include/asm-alpha/barrier.h @@ -1,6 +1,8 @@ #ifndef __BARRIER_H #define __BARRIER_H +#include + #define mb() \ __asm__ __volatile__("mb": : :"memory") --------------090107030603060306050308-- - 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/