Skip to contentSkip to conversation

RT: change from raw_spinlock_t to __raw_spinlock_t

PATCH Applied Frank Rowand 2 participants 2 messages Jan 15, 2008 – Jan 16, 2008 MIPS

lore
Share & tools
lore
#0 lore raw

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.

---
arch/mips/kernel/gdb-stub.c | 2 1 + 1 - 0 !

 1 files changed, 1 insertion(+), 1 deletion(-)
arch/mips/kernel/gdb-stub.c +1 -1
Index: 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,
 };
 
#1 lore raw
Quoted 5 lines · Frank Rowand

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