Re: [PATCH 4/4] RT: change from raw_spinlock_t to __raw_spinlock_t
On Tue, Jan 15, 2008 at 02:21:46PM -0800, Frank Rowand wrote: > From: Frank Rowand <[EMAIL PROTECTED]> > > Fix compile warning (which becomes compile error due to -Werror), > by changing from raw_spinlock_t to __raw_spinlock_t. > Applied. Thanks, -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 4/4] RT: change from raw_spinlock_t to __raw_spinlock_t
From: Frank Rowand <[EMAIL PROTECTED]> Fix compile warning (which becomes compile error due to -Werror), by changing from raw_spinlock_t to __raw_spinlock_t. Signed-off-by: Frank Rowand <[EMAIL PROTECTED]> --- arch/mips/kernel/gdb-stub.c |2 1 + 1 - 0 ! 1 files changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.24-rc7/arch/mips/kernel/gdb-stub.c === --- linux-2.6.24-rc7.orig/arch/mips/kernel/gdb-stub.c +++ linux-2.6.24-rc7/arch/mips/kernel/gdb-stub.c @@ -177,7 +177,7 @@ int kgdb_enabled; * spin locks for smp case */ static DEFINE_SPINLOCK(kgdb_lock); -static raw_spinlock_t kgdb_cpulock[NR_CPUS] = { +static __raw_spinlock_t kgdb_cpulock[NR_CPUS] = { [0 ... NR_CPUS-1] = __RAW_SPIN_LOCK_UNLOCKED, }; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 4/4] RT: change from raw_spinlock_t to __raw_spinlock_t
From: Frank Rowand [EMAIL PROTECTED] Fix compile warning (which becomes compile error due to -Werror), by changing from raw_spinlock_t to __raw_spinlock_t. Signed-off-by: Frank Rowand [EMAIL PROTECTED] --- arch/mips/kernel/gdb-stub.c |2 1 + 1 - 0 ! 1 files changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.24-rc7/arch/mips/kernel/gdb-stub.c === --- linux-2.6.24-rc7.orig/arch/mips/kernel/gdb-stub.c +++ linux-2.6.24-rc7/arch/mips/kernel/gdb-stub.c @@ -177,7 +177,7 @@ int kgdb_enabled; * spin locks for smp case */ static DEFINE_SPINLOCK(kgdb_lock); -static raw_spinlock_t kgdb_cpulock[NR_CPUS] = { +static __raw_spinlock_t kgdb_cpulock[NR_CPUS] = { [0 ... NR_CPUS-1] = __RAW_SPIN_LOCK_UNLOCKED, }; -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 4/4] RT: change from raw_spinlock_t to __raw_spinlock_t
On Tue, Jan 15, 2008 at 02:21:46PM -0800, Frank Rowand wrote: From: Frank Rowand [EMAIL PROTECTED] Fix compile warning (which becomes compile error due to -Werror), by changing from raw_spinlock_t to __raw_spinlock_t. Applied. Thanks, -- Steve -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/