linux-stable/arch/mips/mti-malta
Ralf Baechle 852fe3105e MIPS: Malta: Fix crash in SMP kernel on non-CMP systems.
Since 6be63bbbda (lmo) rsp.
af3a1f6f48 (kernel.org) the Malta code does
no longer probe for presence of GCMP if CMP is not configured.  This means
that the variable gcmp_present well be left at its default value of -1
which normally is meant to indicate that GCMP has not yet been mmapped.
This non-zero value is now interpreted as GCMP being present resulting
in a write attempt to a GCMP register resulting in a crash.

Reported and a build fix on top of my fix by Rob Landley <rob@landley.net>.

Reported-by: Rob Landley <rob@landley.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/2413/
2011-07-20 23:12:10 +01:00
..
Makefile MIPS: Malta: Migrate to new platform makefile style. 2010-08-05 13:25:50 +01:00
malta-amon.c MIPS: CMP: Fix memory barriers for correct operation of amon_cpu_start 2009-11-02 12:00:05 +01:00
malta-cmdline.c
malta-console.c
malta-display.c
malta-init.c MIPS: Malta: Fix crash in SMP kernel on non-CMP systems. 2011-07-20 23:12:10 +01:00
malta-int.c Merge branches 'sched-core-for-linus' and 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2011-05-19 17:41:22 -07:00
malta-memory.c tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
malta-pci.c MIPS: Set io_map_base for several PCI bridges lacking it 2010-07-26 19:08:19 +01:00
malta-platform.c MIPS: Add missing #inclusions of <linux/irq.h> 2010-10-07 14:08:54 +01:00
malta-reset.c MIPS: Malta: Convert reset initialization to initcall. 2009-09-17 20:07:43 +02:00
malta-setup.c MIPS: Malta: Convert reset initialization to initcall. 2009-09-17 20:07:43 +02:00
malta-smtc.c MIPS: Malta SMTC: Fix build. 2011-07-20 23:12:10 +01:00
malta-time.c MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
Platform MIPS: Malta: Migrate to new platform makefile style. 2010-08-05 13:25:50 +01:00