From: Frank Rowand <frank.rowand@am.sony.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: LKML <linux-kernel@vger.kernel.org>,
linux-rt-users <linux-rt-users@vger.kernel.org>
Subject: Re: [ANNOUNCE] 3.4-rc2-rt1
Date: Tue, 10 Apr 2012 16:47:28 -0700 [thread overview]
Message-ID: <4F84C690.1010509@am.sony.com> (raw)
In-Reply-To: <alpine.LFD.2.02.1204101642050.2542@ionos>
On 04/10/12 07:46, Thomas Gleixner wrote:
> Dear RT Folks,
>
> I'm pleased to announce the 3.4-rc2-rt1 release.
>
> This is a straight forward update of the 3.2 series to 3.4-rc2. It's
> slightly smaller than the 3.2 series. I hope to stabilize it fast so I
> can concentrate on shuffling more parts of RT into 3.5.
Compile on the ARM panda fails because commit 615399c8 removed the defines of:
cpu_online_map
cpu_possible_map
These defines are used by posix-timers-thread-posix-cpu-timers-on-rt.patch
kernel/posix-cpu-timers.c: In function 'posix_cpu_thread_call':
kernel/posix-cpu-timers.c:1487: error: 'cpu_online_map' undeclared (first use in this function)
kernel/posix-cpu-timers.c:1487: error: (Each undeclared identifier is reported only once
kernel/posix-cpu-timers.c:1487: error: for each function it appears in.)
kernel/posix-cpu-timers.c: In function 'posix_cpu_thread_init':
kernel/posix-cpu-timers.c:1515: error: 'cpu_possible_map' undeclared (first use in this function)
This patch is a temporary workaround, putting back two of the defines removed
by commit 615399c8.
Signed-off-by: Frank Rowand <frank.rowand@am.sony.com>
---
include/linux/cpumask.h | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)
Index: b/include/linux/cpumask.h
===================================================================
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -764,6 +764,10 @@ static inline const struct cpumask *get_
*
*/
#ifndef CONFIG_DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
+/* These strip const, as traditionally they weren't const. */
+#define cpu_possible_map (*(cpumask_t *)cpu_possible_mask)
+#define cpu_online_map (*(cpumask_t *)cpu_online_mask)
+
#define cpumask_of_cpu(cpu) (*get_cpu_mask(cpu))
#define CPU_MASK_LAST_WORD BITMAP_LAST_WORD_MASK(NR_CPUS)
next prev parent reply other threads:[~2012-04-10 23:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-10 14:46 [ANNOUNCE] 3.4-rc2-rt1 Thomas Gleixner
2012-04-10 14:58 ` Arnd Bergmann
2012-04-10 15:02 ` Thomas Gleixner
2012-04-10 23:47 ` Frank Rowand [this message]
2012-04-10 23:51 ` Frank Rowand
2012-04-11 9:25 ` Thomas Gleixner
2012-04-11 2:23 ` Frank Rowand
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=4F84C690.1010509@am.sony.com \
--to=frank.rowand@am.sony.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=tglx@linutronix.de \
/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.