From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755392Ab1G0W2Q (ORCPT ); Wed, 27 Jul 2011 18:28:16 -0400 Received: from am1ehsobe002.messaging.microsoft.com ([213.199.154.205]:38849 "EHLO AM1EHSOBE002.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753031Ab1G0W2O (ORCPT ); Wed, 27 Jul 2011 18:28:14 -0400 X-SpamScore: -15 X-BigFish: VPS-15(zzbb2dK103dK1432N98dKzz1202hzzz2fh668h839h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: CIP:160.33.98.74;KIP:(null);UIP:(null);IPVD:NLI;H:mail7.fw-bc.sony.com;RD:mail7.fw-bc.sony.com;EFVD:NLI Message-ID: <4E3090E3.7000100@am.sony.com> Date: Wed, 27 Jul 2011 15:27:47 -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: "Rowand, Frank" , LKML , linux-rt-users , Peter Zijlstra , "Paul E. McKenney" , Steven Rostedt , Jason Wessel Subject: Re: [ANNOUNCE] 3.0-rt4 References: <4E3089BC.1080001@am.sony.com> 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 07/27/11 15:05, Thomas Gleixner wrote: > On Wed, 27 Jul 2011, Frank Rowand wrote: > >> On 07/27/11 14:37, Thomas Gleixner wrote: >>> Dear RT Folks, >>> >>> I'm pleased to announce the 3.0-rt4 release. >> >> ARM panda board, PREEMPT_RT_FULL >> >> -rt3 compiled OK. -rt4 compile fails: >> >> >> mm/init-mm.c:24: error: unknown field 'lock' specified in initializer >> mm/init-mm.c:24: error: unknown field 'wait_lock' specified in initializer >> mm/init-mm.c:24: error: incompatible types in initialization >> mm/init-mm.c:24: error: unknown field 'save_state' specified in initializer >> mm/init-mm.c:24: warning: excess elements in struct initializer >> mm/init-mm.c:24: warning: (near initialization for 'init_mm.context.id_lock.raw_lock') > > Bah, that's what I get for trying to vanish. Fix below. > > --- linux-2.6.orig/arch/arm/include/asm/mmu.h > +++ linux-2.6/arch/arm/include/asm/mmu.h > @@ -16,7 +16,7 @@ typedef struct { > > /* init_mm.context.id_lock should be initialized. */ > #define INIT_MM_CONTEXT(name) \ > - .context.id_lock = __SPIN_LOCK_UNLOCKED(name.context.id_lock), > + .context.id_lock = __RAW_SPIN_LOCK_UNLOCKED(name.context.id_lock), > #else > #define ASID(mm) (0) > #endif Thanks! Compiles and boots. -Frank