From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Arpit Goel <arpitgoel@gmail.com>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: iMX6 compilation fails with RT patch
Date: Thu, 25 Apr 2013 18:04:23 +0200 [thread overview]
Message-ID: <20130425160423.GD5561@linutronix.de> (raw)
In-Reply-To: <CANRA68LNCUUJGoYtntem-D8R3abcM-RmFRHjz+e002DtXVM4qA@mail.gmail.com>
* 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
prev parent reply other threads:[~2013-04-25 16:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-03 6:06 iMX6 compilation fails with RT patch Arpit Goel
2013-04-25 16:04 ` Sebastian Andrzej Siewior [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=20130425160423.GD5561@linutronix.de \
--to=bigeasy@linutronix.de \
--cc=arpitgoel@gmail.com \
--cc=linux-rt-users@vger.kernel.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 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).