| To: | Linux MIPS <linux-mips@linux-mips.org> |
|---|---|
| Subject: | [PATCH] Make KGDB compile again |
| From: | Sergei Shtylylov <sshtylyov@ru.mvista.com> |
| Date: | Fri, 06 Jan 2006 19:38:05 +0300 |
| Cc: | Manish Lachwani <mlachwani@mvista.com>, ralf@linux-mips.org |
| Organization: | MostaVista Software Inc. |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803 |
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
diff --git a/arch/mips/kernel/gdb-stub.c b/arch/mips/kernel/gdb-stub.c
index 96d18c4..0b2c44f 100644
--- a/arch/mips/kernel/gdb-stub.c
+++ b/arch/mips/kernel/gdb-stub.c
@@ -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
};
/*
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] Make KGDB compile for AMD Au1200, Sergei Shtylylov |
|---|---|
| Next by Date: | [PATCH] Force MMC/SD to 512 byte block sizes, Jordan Crouse |
| Previous by Thread: | [PATCH] Make KGDB compile for AMD Au1200, Sergei Shtylylov |
| Next by Thread: | [PATCH] Force MMC/SD to 512 byte block sizes, Jordan Crouse |
| Indexes: | [Date] [Thread] [Top] [All Lists] |