All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Heikki Lindholm <holindho@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] [PATCH] xenomai 2.1 ppc64 build fix
Date: Sun, 20 Nov 2005 11:26:00 +0100	[thread overview]
Message-ID: <43804F38.7090107@domain.hid> (raw)
In-Reply-To: <437E0529.8030102@domain.hid>

Heikki Lindholm wrote:
> Xenomai 2.1:
> 
> - powerpc/atomic.h lost one 64-bit #ifdef during the merge - ppc64 
> defines its own atomic mask functions.

Applied, thanks.

> 
> -- Heikki Lindholm
> 
> 
> ------------------------------------------------------------------------
> 
> diff -Nru xenomai/include/asm-powerpc/atomic.h xenomai-devel/include/asm-powerpc/atomic.h
> --- xenomai/include/asm-powerpc/atomic.h	2005-11-08 09:43:39.000000000 +0200
> +++ xenomai-devel/include/asm-powerpc/atomic.h	2005-11-18 15:37:34.000000000 +0200
> @@ -210,6 +210,7 @@
>      return t;
>  }
>  
> +#ifndef __powerpc64__
>  static __inline__ void atomic_set_mask(unsigned long mask,
>  				       unsigned long *ptr)
>  {
> @@ -237,6 +238,7 @@
>  	: "r" (ptr), "r" (mask)
>  	: "r5", "cc", "memory");
>  }
> +#endif /* __powerpc64__ */
>  
>  #define xnarch_atomic_xchg(ptr,v)   atomic_xchg(ptr,v)
>  #define xnarch_memory_barrier()     __asm__ __volatile__("": : :"memory")
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core


-- 

Philippe.


      reply	other threads:[~2005-11-20 10:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-18 16:45 [Xenomai-core] [PATCH] xenomai 2.1 ppc64 build fix Heikki Lindholm
2005-11-20 10:26 ` Philippe Gerum [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=43804F38.7090107@domain.hid \
    --to=rpm@xenomai.org \
    --cc=holindho@domain.hid \
    --cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.