Re: include/boilerplate/compiler.h breaks clang 3.9's arm_acle.h

2018-11-18 Thread Jan Kiszka via Xenomai
On 17.11.18 01:38, Giulio Moro via Xenomai wrote: I have clang 3.9.1 (on Debian Stretch) on armv7. the below minimal program clz-test.c: ``` #include #include int main() { return __clz(0); } ``` will fail to build when compiled with `clang -I/usr/xenomai/include/cobalt

Re: spinlock_irq...() supported in Xenomai 2.6.5 ?

2018-11-18 Thread Jan Kiszka via Xenomai
On 19.11.18 07:38, C Smith via Xenomai wrote: I am porting an old Linux kernelspace driver to Xenomai 2.6.5 using RTDM API. I see calls to spinlock_irq_save() and spin_unlock_irqrestore() in the old kernel driver code, right in the middle of an interrupt handler. Are those spinlock calls

spinlock_irq...() supported in Xenomai 2.6.5 ?

2018-11-18 Thread C Smith via Xenomai
I am porting an old Linux kernelspace driver to Xenomai 2.6.5 using RTDM API. I see calls to spinlock_irq_save() and spin_unlock_irqrestore() in the old kernel driver code, right in the middle of an interrupt handler. Are those spinlock calls 'wrapped' by Xenomai 2.6.5 such that they work, and