From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: Xenomai-core@domain.hid
Subject: Re: [Xenomai-core] [PATCH 2/2] Unify asm-x86/atomic.h
Date: Sat, 23 Aug 2008 12:23:17 +0200 [thread overview]
Message-ID: <48AFE515.70003@domain.hid> (raw)
In-Reply-To: <48AFCD61.8040203@domain.hid>
Jan Kiszka wrote:
> Gilles Chanteperdrix wrote:
>> Jan Kiszka wrote:
>>> ...and also automatically fixes the missing LOCK prefix for
>>> pthread_mutex_* services on x86_32 SMP.
>> This looks to me as a half-way unification. Can we not totally get rid
>> of atomic_32.h and atomic_64.h ? I mean since we are using unsigned long
>> as atomic_t on both platforms, there should not be much difference
>> (except maybe the inline asm).
>>
>
> I could merge all atomic_32/64.h hunks into atomic.h if that this
> preferred, but I cannot help getting rid of the atomic_t vs. atomic64_t
> differences, thus the sub-arch specific part cannot be reduced as far as
> I see it ATM.
We could use atomic_long_t on the two arches.
--
Gilles.
next prev parent reply other threads:[~2008-08-23 10:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-22 16:04 [Xenomai-core] [PATCH 2/2] Unify asm-x86/atomic.h Jan Kiszka
2008-08-22 16:28 ` Gilles Chanteperdrix
2008-08-23 8:42 ` Jan Kiszka
2008-08-23 10:23 ` Gilles Chanteperdrix [this message]
2008-08-23 10:45 ` Jan Kiszka
2008-08-25 7:56 ` Jan Kiszka
2008-08-25 8:00 ` Gilles Chanteperdrix
2008-08-25 8:06 ` Jan Kiszka
2008-08-25 9:05 ` Gilles Chanteperdrix
2008-08-25 10:32 ` Philippe Gerum
2008-08-25 11:09 ` Jan Kiszka
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=48AFE515.70003@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=Xenomai-core@domain.hid \
--cc=jan.kiszka@domain.hid \
/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.