2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 02:34:01 +08:00
linux-next/arch/frv/kernel
David Howells e7aa51b2e5 FRV: Fix the new-style kernel_thread() stuff
The kernel_thread() changes for FRV don't work, and FRV fails to boot,
starting with:

	commit 02ce496f15
	Author: Al Viro <viro@zeniv.linux.org.uk>
	Date:   Tue Sep 18 22:18:51 2012 -0400
	Subject: frv: split ret_from_fork, simplify kernel_thread() a lot

The problem is that the userspace registers are completely cleared when a
kernel thread is created and all subsequent user threads are then copied from
that.  Unfortunately, however, the TBR and PSR registers are restored from the
pt_regs and the values they should be set to are clobbered by the memset.

Instead, copy across the old user registers as normal, and then merely alter
GR8 and GR9 in it if we're going to execute a kernel thread.

Signed-off-by: David Howells <dhowells@redhat.com>
2012-11-02 13:20:43 +00:00
..
asm-offsets.c frv: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:30 -07:00
break.S Rename special text sections in arch/frv from .text.XXX to .text..XXX. 2010-03-03 11:26:01 +01:00
cmode.S Fix various old email addresses for dwmw2 2008-06-06 11:29:10 -07:00
debug-stub.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
dma.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
entry-table.S Fix common misspellings 2011-03-31 11:26:23 -03:00
entry.S FRV: Fix the preemption handling 2012-11-02 13:20:42 +00:00
frv_ksyms.c frv: split ret_from_fork, simplify kernel_thread() a lot 2012-10-01 00:53:10 -04:00
futex.c futex: Sanitize futex ops argument types 2011-03-11 12:23:31 +01:00
gdb-io.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
gdb-io.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gdb-stub.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
head-mmu-fr451.S FRV: Use __INIT macro instead of .text.init. 2009-04-27 19:46:30 -07:00
head-uc-fr401.S FRV: Use __INIT macro instead of .text.init. 2009-04-27 19:46:30 -07:00
head-uc-fr451.S FRV: Use __INIT macro instead of .text.init. 2009-04-27 19:46:30 -07:00
head-uc-fr555.S FRV: Use __INIT macro instead of .text.init. 2009-04-27 19:46:30 -07:00
head.inc FRV: Make NOMMU-mode work with base addresses other than 0xC0000000 [try #2] 2008-04-10 13:41:29 -07:00
head.S Rename special text sections in arch/frv from .text.XXX to .text..XXX. 2010-03-03 11:26:01 +01:00
irq-mb93091.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
irq-mb93093.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
irq-mb93493.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
irq.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
local64.h arch: Implement local64_t 2010-06-09 11:12:36 +02:00
local.h [PATCH] FRV: Fix FRV arch compile errors 2006-07-10 13:24:21 -07:00
Makefile frv: switch to generic kernel_execve 2012-10-01 00:53:11 -04:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
pm-mb93093.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pm.c frv: kill used but uninitialized variable 2012-10-06 03:04:46 +09:00
process.c FRV: Fix the new-style kernel_thread() stuff 2012-11-02 13:20:43 +00:00
ptrace.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
setup.c FRV: Fix const sections change 2012-10-16 18:49:15 -07:00
signal.c Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
sleep.S Fix various old email addresses for dwmw2 2008-06-06 11:29:10 -07:00
switch_to.S FRV: Make NOMMU-mode work with base addresses other than 0xC0000000 [try #2] 2008-04-10 13:41:29 -07:00
sys_frv.c Add generic sys_ipc wrapper 2010-03-12 15:52:32 -08:00
sysctl.c frv: remove "struct file *" argument from sysctl ->proc_handler 2010-05-27 09:12:56 -07:00
time.c frv: Switch do_timer() to xtime_update() 2011-01-31 14:55:45 +01:00
traps.c Disintegrate asm/system.h for FRV 2012-03-28 18:30:02 +01:00
uaccess.c FRV: BUG to BUG_ON changes 2009-06-11 09:01:26 -07:00
vmlinux.lds.S percpu: Always align percpu output section to PAGE_SIZE 2011-03-24 18:50:09 +01:00