[PATCH] Compile problems in locking-selftest.c with CONFIG_DEBUG_PREEMPT

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: LKML <linux-kernel@...>, rt-users <linux-rt-users@...>
Cc: Thomas Gleixner <tglx@...>, Steven Rostedt <rostedt@...>, Ingo Molnar <mingo@...>
Date: Friday, August 15, 2008 - 11:57 am

The attached patch fixes the following compiler error in the rt-kernel
if CONFIG_DEBUG_PREEMPT is enabled.

lib/locking-selftest.c: In function 'dotest':
lib/locking-selftest.c:951: error: incompatible types in initialization
lib/locking-selftest.c:1003: error: incompatible types in assignment
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Compile problems in locking-selftest.c with CONFIG_D..., John Kacur, (Fri Aug 15, 11:57 am)
[PATCH] lockdep: fix build if CONFIG_PROVE_LOCKING not defined, Stephen Hemminger, (Fri Aug 15, 12:33 pm)