* iMX6 compilation fails with RT patch
@ 2013-04-03 6:06 Arpit Goel
2013-04-25 16:04 ` Sebastian Andrzej Siewior
0 siblings, 1 reply; 2+ messages in thread
From: Arpit Goel @ 2013-04-03 6:06 UTC (permalink / raw)
To: linux-rt-users
Hi,
I am using 3.8.4 kernel with RT patch(patch-3.8.4-rt2.patch).
Patch was applied using "git apply" on kernel with Tag 3.8.4.
Compilation for ARM architecture fails for iMX6 using
imx_v6_v7_defconfig fails after following configuration flags are
enabled.
CONFIG_PREEMPT_RT_BASE
CONFIG_PREEMPT_RT_FULL
Compilation Error:
arch/arm/mach-imx/clk.c:3:1: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__cacheline_aligned_in_smp'
Toolchain -> Linaro ARM FSL toolchain (arm-fsl-linux-gnueabi-)
Regards
Arpit Goel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: iMX6 compilation fails with RT patch
2013-04-03 6:06 iMX6 compilation fails with RT patch Arpit Goel
@ 2013-04-25 16:04 ` Sebastian Andrzej Siewior
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2013-04-25 16:04 UTC (permalink / raw)
To: Arpit Goel; +Cc: linux-rt-users
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-25 16:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-03 6:06 iMX6 compilation fails with RT patch Arpit Goel
2013-04-25 16:04 ` Sebastian Andrzej Siewior
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).