alistair23-linux/arch/m68k/coldfire
Greg Ungerer bc065e4784 m68knommu: fix early setup to not access variables
The early setup code for the ColdFire 53xx platform accesses variables
before the RAM and other system initialization steps may have taken place.
Currently it has 2 global variables that will end up in the bss section
that are accessed during this early setup. There is a special static RAM
stack setup at this time, but not necessarily the RAM where kernel data
sections will end up.

Even on system setups where RAM is setup by a boot loader the access
to the early setup variables is before the BSS section has been initialized.
This can potentially corrupt a ram loaded root filesystem that sits in that
memory area before it has been moved.

These 2 variables are not used at all after being set, and can just be
removed.

Reported-by: Christian Gieseler <christiangieseler@yahoo.de>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
2016-09-26 12:02:57 +10:00
..
cache.c
clk.c
device.c m68knommu: fix FEC platform device registration when driver is modular 2016-03-07 10:07:17 +10:00
dma.c
dma_timer.c
entry.S
firebee.c
gpio.c m68k/gpio: remove arch specific sysfs bus device 2016-04-11 12:03:18 +10:00
head.S m68k: Assorted spelling fixes 2016-07-03 14:05:28 +02:00
intc-2.c
intc-525x.c
intc-5249.c
intc-5272.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
intc-simr.c
intc.c
m53xx.c m68knommu: fix early setup to not access variables 2016-09-26 12:02:57 +10:00
m54xx.c m68k/mm: m54xx - Add missing initialization of max_pfn 2015-11-22 11:35:24 +01:00
m520x.c
m523x.c
m525x.c
m527x.c
m528x.c
m5206.c
m5249.c
m5272.c m68k: Assorted spelling fixes 2016-07-03 14:05:28 +02:00
m5307.c
m5407.c
m5441x.c
Makefile
mcf8390.c
nettel.c
pci.c m68k: Assorted spelling fixes 2016-07-03 14:05:28 +02:00
pit.c m68k/coldfire/pit: Migrate to new 'set-state' interface 2015-08-24 14:31:38 +10:00
reset.c
sltimers.c
timers.c
vectors.c