lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 27 Jul 2011 15:27:47 -0700
From:	Frank Rowand <frank.rowand@...sony.com>
To:	Thomas Gleixner <tglx@...utronix.de>
CC:	"Rowand, Frank" <Frank_Rowand@...yusa.com>,
	LKML <linux-kernel@...r.kernel.org>,
	linux-rt-users <linux-rt-users@...r.kernel.org>,
	Peter Zijlstra <peterz@...radead.org>,
	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
	Steven Rostedt <rostedt@...dmis.org>,
	Jason Wessel <jason.wessel@...driver.com>
Subject: Re: [ANNOUNCE] 3.0-rt4

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ