From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] UVM build error in todays head of SVN
Date: Mon, 01 May 2006 15:57:02 +0200 [thread overview]
Message-ID: <445613AE.7000902@domain.hid> (raw)
In-Reply-To: <4455E720.70509@domain.hid>
Jan Kiszka wrote:
> Wolfgang Grandegger wrote:
>
>>Hello,
>>
>>I just checked out Xenomai and realized the UVM build error below (while
>>building for PPC 405 with IPIPE tracer). "xnlock_put/get" seems not to
>>be dummy without SMP.
>>
>>Wolfgang.
>>
>
>
> Try this patch. It fixes the problem and also appears to me as the
> correct way to solve it (UVM is a UP-machine, spinlocks are void).
>
> Jan
>
>
> --- include/asm-uvm/system.h (Revision 1022)
> +++ include/asm-uvm/system.h (Arbeitskopie)
> @@ -67,6 +67,8 @@ typedef unsigned long xnlock_t;
> #define XNARCH_LOCK_UNLOCKED 0
>
> #define xnlock_init(lock) do { } while(0)
> +#define xnlock_get(lock) do { } while(0)
> +#define xnlock_put(lock) do { } while(0)
> #define xnlock_get_irqsave(lock,x) ((x) = xnarch_lock_irq())
> #define xnlock_put_irqrestore(lock,x) xnarch_unlock_irq(x)
> #define xnlock_clear_irqoff(lock) xnarch_lock_irq()
>
>
Fixed, thanks.
--
Philippe.
prev parent reply other threads:[~2006-05-01 13:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-01 10:32 [Xenomai-core] UVM build error in todays head of SVN Wolfgang Grandegger
2006-05-01 10:46 ` Jan Kiszka
2006-05-01 13:57 ` 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=445613AE.7000902@domain.hid \
--to=rpm@xenomai.org \
--cc=jan.kiszka@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.