Skip to contentSkip to conversation

Blackfin arch bug fixing for 2.6.26-rc8

GIT PULL Bryan Wu 1 participant 1 message Jun 25, 2008

lore
Share & tools
lore

Bryan Wu

author
#0 lore raw

Hi Linus,

Please pull from 'for-linus' branch of

master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6.git for-linus

to receive the following updates:

 arch/blackfin/kernel/cplb-nompu/cplbinit.c |    6 ++++--
 arch/blackfin/kernel/irqchip.c             |    5 +++++
 2 files changed, 9 insertions(+), 2 deletions(-)

Bryan Wu (1):
Blackfin arch: fix up section mismatch warning

Sonic Zhang (1):
Blackfin arch: fix bug - kernel boot fails when Spinlock and
rw-lock debugging enabled

(quoted diff) +0 -0

b/arch/blackfin/kernel/cplb-nompu/cplbinit.c
index 917325b..6be0c50 100644

arch/blackfin/kernel/cplb-nompu/cplbinit.c +0 -1
@@ -254,7 +254,8 @@ close_cplbtab(struct cplb_tab *table)
 }
 
 /* helper function */
-static void __fill_code_cplbtab(struct cplb_tab *t, int i, u32

a_start, u32 a_end)
+static void __init
+__fill_code_cplbtab(struct cplb_tab *t, int i, u32 a_start, u32 a_end)
{
if (cplb_data[i].psize) {
fill_cplbtab(t,
@@ -291,7 +292,8 @@ static void __fill_code_cplbtab(struct cplb_tab *t, int i, u32 a_start, u32 a_en
}
}

-static void __fill_data_cplbtab(struct cplb_tab *t, int i, u32 a_start, u32 a_end)
+static void __init
+__fill_data_cplbtab(struct cplb_tab *t, int i, u32 a_start, u32 a_end)
{
if (cplb_data[i].psize) {
fill_cplbtab(t,

arch/blackfin/kernel/irqchip.c +5 -0
index 73647c1..07402f5 100644
@@ -60,9 +60,14 @@ static struct irq_chip bad_chip = {
 };
 
 static struct irq_desc bad_irq_desc = {
+	.status = IRQ_DISABLED,
 	.chip = &bad_chip,
 	.handle_irq = handle_bad_irq,
 	.depth = 1,
+	.lock = __SPIN_LOCK_UNLOCKED(irq_desc->lock),
+#ifdef CONFIG_SMP
+	.affinity = CPU_MASK_ALL
+#endif
 };
 
 int show_interrupts(struct seq_file *p, void *v)