linux/arch/m68k/platform/coldfire
Greg Ungerer bbc6f1ba50 m68k: set register a2 to current if MMU enabled on ColdFire
Virtual memory m68k systems build with register a2 dedicated to being the
current proc pointer (non-MMU don't do this). Add code to the ColdFire
interrupt and exception processing to set this on entry, and at context
switch time. We use the same GET_CURRENT() macro that MMU enabled code
uses - modifying it so that the assembler is ColdFire clean.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Matt Waddel <mwaddel@yahoo.com>
Acked-by: Kurt Mahan <kmahan@xmission.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
2011-12-30 10:20:24 +10:00
..
cache.c Fix common misspellings 2011-03-31 11:26:23 -03:00
clk.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
dma_timer.c clocksource: m86k: Convert to clocksource_register_hz/khz 2011-12-24 21:47:56 +10:00
dma.c m68knommu: remove un-needed exporting of COLDFIRE symbols 2011-05-24 10:03:51 +10:00
entry.S m68k: set register a2 to current if MMU enabled on ColdFire 2011-12-30 10:20:24 +10:00
gpio.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
head.S m68k: init the MMU hardware for the 54xx ColdFire 2011-12-30 10:20:23 +10:00
intc-2.c m68knommu: correctly use trap_init 2011-07-25 11:20:41 +10:00
intc-simr.c m68knommu: correctly use trap_init 2011-07-25 11:20:41 +10:00
intc.c m68knommu: correctly use trap_init 2011-07-25 11:20:41 +10:00
Makefile m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
pinmux.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
pit.c clocksource: m86k: Convert to clocksource_register_hz/khz 2011-12-24 21:47:56 +10:00
sltimers.c m68knommu: fix broken ColdFire slice timer read_clk() code 2011-12-24 21:47:58 +10:00
timers.c clocksource: m86k: Convert to clocksource_register_hz/khz 2011-12-24 21:47:56 +10:00
vectors.c m68knommu: correctly use trap_init 2011-07-25 11:20:41 +10:00