linux_dsm_epyc7002/arch/m68k/kernel
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
..
.gitignore m68k: Add vmlinux.lds to .gitignore 2009-01-12 20:56:32 +01:00
asm-offsets.c m68k: remove thread_info struct from thread struct 2011-12-24 21:47:56 +10:00
dma_mm.c m68k: Add export.h to the m68k specific files as required 2011-10-31 19:30:59 -04:00
dma_no.c m68k: Add export.h to the m68k specific files as required 2011-10-31 19:30:59 -04:00
dma.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
entry_mm.S m68k: remove thread_info struct from thread struct 2011-12-24 21:47:56 +10:00
entry_no.S m68k: set register a2 to current if MMU enabled on ColdFire 2011-12-30 10:20:24 +10:00
entry.S m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
head.S Fix common misspellings 2011-03-31 11:26:23 -03:00
init_task.c m68k: merge the init_task code for mmu and non-mmu targets 2011-12-24 21:47:56 +10:00
ints.c m68k/irq: Remove obsolete support for user vector interrupt fixups 2011-11-08 22:35:52 +01:00
irq.c m68k: Revive reporting of spurious interrupts 2011-07-25 11:20:41 +10:00
m68k_ksyms.c m68k: handle presence of 64bit mul/div instructions cleanly 2011-12-24 21:47:57 +10:00
Makefile m68k: merge the init_task code for mmu and non-mmu targets 2011-12-24 21:47:56 +10:00
module.c m68k: merge the non-mmu and mmu versions of module.c 2011-07-25 11:20:40 +10:00
module.lds m68k: runtime patching infrastructure 2007-05-31 07:58:13 -07:00
process_mm.c m68k: merge the init_task code for mmu and non-mmu targets 2011-12-24 21:47:56 +10:00
process_no.c m68k, exec: remove redundant set_fs(USER_DS) 2011-07-25 20:57:12 -07:00
process.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
ptrace_mm.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
ptrace_no.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
ptrace.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
setup_mm.c m68k: show ColdFire CPU/FPU/MMU type 2011-12-30 10:20:17 +10:00
setup_no.c m68knommu: move definition of mach_gettod to where it is used 2011-12-24 21:47:57 +10:00
setup.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
signal_mm.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
signal_no.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
signal.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
sun3-head.S m68k: arch/m68k/kernel/sun3-head.S needs <linux/init.h> 2009-04-28 16:07:18 -07:00
sys_m68k.c m68k: merge the mmu and non-mmu versions of sys_m68k.c 2011-05-24 15:17:21 +10:00
syscalltable.S m68k: Wire up process_vm_{read,write}v 2011-12-06 20:37:58 +01:00
time_mm.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
time_no.c m68knommu: move definition of mach_gettod to where it is used 2011-12-24 21:47:57 +10:00
time.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
traps.c m68k: merge the mmu and non-mmu traps.c files 2011-10-18 14:22:25 +10:00
vectors.c m68k: move hardware vector setting from traps.c to its own file 2011-10-18 14:22:25 +10:00
vmlinux-nommu.lds m68k: consolidate the vmlinux.lds linker scripts 2011-12-24 21:47:58 +10:00
vmlinux-std.lds m68k: print memory layout info in boot log 2011-12-24 21:47:57 +10:00
vmlinux-sun3.lds m68k: print memory layout info in boot log 2011-12-24 21:47:57 +10:00
vmlinux.lds.S m68k: consolidate the vmlinux.lds linker scripts 2011-12-24 21:47:58 +10:00