From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759746Ab2DJXrz (ORCPT ); Tue, 10 Apr 2012 19:47:55 -0400 Received: from db3ehsobe005.messaging.microsoft.com ([213.199.154.143]:26480 "EHLO db3outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759715Ab2DJXry (ORCPT ); Tue, 10 Apr 2012 19:47:54 -0400 X-SpamScore: -10 X-BigFish: VPS-10(zzbb2dI1432N98dKzz1202hzz8275bhz2fh668h839hd25h) X-Forefront-Antispam-Report: CIP:160.33.98.74;KIP:(null);UIP:(null);IPV:NLI;H:mail7.fw-bc.sony.com;RD:mail7.fw-bc.sony.com;EFVD:NLI Message-ID: <4F84C690.1010509@am.sony.com> Date: Tue, 10 Apr 2012 16:47:28 -0700 From: Frank Rowand Reply-To: User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10 MIME-Version: 1.0 To: Thomas Gleixner CC: LKML , linux-rt-users Subject: Re: [ANNOUNCE] 3.4-rc2-rt1 References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-OriginatorOrg: am.sony.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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)