LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 4/4] RT: change from raw_spinlock_t to __raw_spinlock_t
@ 2008-01-15 22:21 Frank Rowand
  2008-01-16  2:16 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Rowand @ 2008-01-15 22:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: mingo, tglx

From: Frank Rowand <frank.rowand@am.sony.com>

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 <frank.rowand@am.sony.com>
---
 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,
 };
 




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-16  2:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-15 22:21 [PATCH 4/4] RT: change from raw_spinlock_t to __raw_spinlock_t Frank Rowand
2008-01-16  2:16 ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).