Re: iMX6 compilation fails with RT patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Arpit Goel | 2013-04-03 11:36:10 [+0530]:

>Hi,
Hi,

>Compilation for ARM architecture fails for iMX6 using
>imx_v6_v7_defconfig fails after following configuration flags are
>enabled.
>
>CONFIG_PREEMPT_RT_BASE
builds

>CONFIG_PREEMPT_RT_FULL
does not

>Compilation Error:
>
>arch/arm/mach-imx/clk.c:3:1: error: expected '=', ',', ';', 'asm' or
>'__attribute__' before '__cacheline_aligned_in_smp'

I think to add

diff --git a/include/linux/spinlock_types_rt.h b/include/linux/spinlock_types_rt.h
index 1fe8fc0..9fd4319 100644
--- a/include/linux/spinlock_types_rt.h
+++ b/include/linux/spinlock_types_rt.h
@@ -5,6 +5,8 @@
 #error "Do not include directly. Include spinlock_types.h instead"
 #endif
 
+#include <linux/cache.h>
+
 /*
  * PREEMPT_RT: spinlocks - an RT mutex plus lock-break field:
  */


does it boot with this change?

>Regards
>Arpit Goel

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux