linux-alpha.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Drake <dsd@gentoo.org>
To: "alpha @ steudten Engineering" <alpha@steudten.com>
Cc: LinuxAlpha <linux-alpha@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: ALPHA: missing reference to barrier()
Date: Fri, 04 Nov 2005 13:31:17 +0000	[thread overview]
Message-ID: <436B62A5.8040904@gentoo.org> (raw)
In-Reply-To: <436B3730.2090705@steudten.org>

[-- Attachment #1: Type: text/plain, Size: 455 bytes --]

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

[-- Attachment #2: 1305_alpha-barrier-compile.patch --]
[-- Type: text/x-patch, Size: 752 bytes --]

From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
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 <viro@ftp.linux.org.uk>
  Signed-off-by: Andrew Morton <akpm@osdl.org>
  Signed-off-by: Linus Torvalds <torvalds@osdl.org>
---

--- a/include/asm-alpha/barrier.h
+++ b/include/asm-alpha/barrier.h
@@ -1,6 +1,8 @@
 #ifndef __BARRIER_H
 #define __BARRIER_H
 
+#include <asm/compiler.h>
+
 #define mb() \
 __asm__ __volatile__("mb": : :"memory")
 

      reply	other threads:[~2005-11-04 13:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-04 10:25 ALPHA: missing reference to barrier() alpha @ steudten Engineering
2005-11-04 13:31 ` Daniel Drake [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=436B62A5.8040904@gentoo.org \
    --to=dsd@gentoo.org \
    --cc=alpha@steudten.com \
    --cc=linux-alpha@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).