Skip to contentSkip to conversation

Make KGDB compile again

PATCH New Sergei Shtylylov 1 participant 1 message Jan 6, 2006 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make KGDB compile again

Hello.

The last commit to arch/mips/kernel/gdb-stub.c introduced a stupid typo
into the spinlock initializer, here's the fix...

WBR, Sergei

arch/mips/kernel/gdb-stub.c +1 -1
index 96d18c4..0b2c44f 100644
@@ -178,7 +178,7 @@ int kgdb_enabled;
  */
 static DEFINE_SPINLOCK(kgdb_lock);
 static raw_spinlock_t kgdb_cpulock[NR_CPUS] = {
-	[0 ... NR_CPUS-1] = __RAW_SPIN_LOCK_UNLOCKED;
+	[0 ... NR_CPUS-1] = __RAW_SPIN_LOCK_UNLOCKED
 };
 
 /*