linux/arch/mips/kernel
Roman Zippel f7e4217b00 rename thread_info to stack
This finally renames the thread_info field in task structure to stack, so that
the assumptions about this field are gone and archs have more freedom about
placing the thread_info structure.

Nonbroken archs which have a proper thread pointer can do the access to both
current thread and task structure via a single pointer.

It'll allow for a few more cleanups of the fork code, from which e.g.  ia64
could benefit.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
[akpm@linux-foundation.org: build fix]
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Ian Molton <spyro@f2s.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Greg Ungerer <gerg@uclinux.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
Cc: Richard Curnow <rc@rc0.org.uk>
Cc: William Lee Irwin III <wli@holomorphy.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Miles Bader <uclinux-v850@lsi.nec.co.jp>
Cc: Andi Kleen <ak@muc.de>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-09 12:30:56 -07:00
..
asm-offsets.c rename thread_info to stack 2007-05-09 12:30:56 -07:00
binfmt_elfn32.c [PATCH] elf: Always define elf_addr_t in linux/elf.h 2006-12-07 08:39:38 -08:00
binfmt_elfo32.c [PATCH] elf: Always define elf_addr_t in linux/elf.h 2006-12-07 08:39:38 -08:00
branch.c [MIPS] Unify mips_fpu_soft_struct and mips_fpu_hard_structs. 2006-06-19 17:39:18 +01:00
cpu-bugs64.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpu-probe.c [MIPS] Make some __setup functions static 2007-02-20 01:26:41 +00:00
early_printk.c Fixes and cleanups for earlyprintk aka boot console 2007-05-08 11:15:04 -07:00
entry.S [MIPS] lockdep: Handle interrupts in R3000 style c0_status register. 2007-03-29 23:46:35 +01:00
gdb-low.S [MIPS] TRACE_IRQFLAGS_SUPPORT support. 2006-07-13 21:26:09 +01:00
gdb-stub.c [MIPS] Whitespace cleanups. 2007-02-06 16:53:19 +00:00
genex.S [MIPS] lockdep: Deal with interrupt disable hazard in TRACE_IRQFLAGS 2007-03-29 23:46:35 +01:00
head.S [MIPS] Move some kernel globals from asm file to C file. 2007-02-06 16:53:16 +00:00
i8253.c Input: pcspkr - separate device and driver registration 2006-03-14 00:11:50 -05:00
i8259.c [MIPS] Register PCI host bridge resource earlier 2007-04-27 16:20:25 +01:00
init_task.c [PATCH] nsproxy: move init_nsproxy into kernel/nsproxy.c 2006-10-02 07:57:20 -07:00
irix5sys.S
irixelf.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
irixinv.c
irixioctl.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
irixsig.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
irq-msc01.c [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
irq-mv6434x.c [MIPS] Whitespace cleanups. 2007-02-06 16:53:19 +00:00
irq-rm7000.c [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
irq-rm9000.c [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
irq.c [MIPS] genirq: use name instead of typename 2006-12-06 20:16:08 +00:00
irq_cpu.c [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
kspd.c [MIPS] Fix AP/SP to work in the reality of modern kernels. 2007-04-27 16:20:23 +01:00
linux32.c [MIPS] Compat: Fix build if CONFIG_SYSVIPC is disabled. 2007-03-17 01:03:26 +00:00
machine_kexec.c Storage class should be before const qualifier 2007-02-17 20:11:19 +01:00
Makefile [MIPS] Fix and cleanup the mess that a dozen prom_printf variants are. 2007-03-04 19:02:37 +00:00
mips-mt.c [MIPS] VPE: Sprinkle device model code into code to make udev happier. 2007-02-10 22:38:42 +00:00
mips_ksyms.c [MIPS] Export __copy_user_inatomic. 2007-03-07 00:07:17 +00:00
module.c [MIPS] Load modules to CKSEG0 if CONFIG_BUILD_ELF64=n 2006-11-30 01:14:44 +00:00
proc.c [MIPS] Whitespace cleanups. 2007-02-06 16:53:19 +00:00
process.c [MIPS] Make SMTC_IDLE_HOOK_DEBUG a proper option in Kconfig.debug. 2007-02-26 23:06:06 +00:00
ptrace.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
ptrace32.c [MIPS] Make sure cpu_has_fpu is used only in atomic context 2006-10-09 23:20:48 +01:00
r4k_fpu.S [MIPS] Check FCSR for pending interrupts, alternative version 2007-03-17 01:03:25 +00:00
r4k_switch.S [MIPS] Disallow CpU exception in kernel again. 2007-04-20 14:58:37 +01:00
r2300_fpu.S
r2300_switch.S [MIPS] Disallow CpU exception in kernel again. 2007-04-20 14:58:37 +01:00
r6000_fpu.S
relocate_kernel.S [MIPS] Add support for kexec 2006-11-30 01:14:44 +00:00
reset.c [MIPS] Export pm_power_off 2006-12-10 21:52:11 +00:00
rtlx.c [MIPS] Fix AP/SP to work in the reality of modern kernels. 2007-04-27 16:20:23 +01:00
scall32-o32.S [MIPS] Wire up ioprio_set and ioprio_get. 2007-03-07 00:07:18 +00:00
scall64-64.S [MIPS] Wire up ioprio_set and ioprio_get. 2007-03-07 00:07:18 +00:00
scall64-n32.S [MIPS] Wire up ioprio_set and ioprio_get. 2007-03-07 00:07:18 +00:00
scall64-o32.S [MIPS] Wire up ioprio_set and ioprio_get. 2007-03-07 00:07:18 +00:00
semaphore.c
setup.c [MIPS] Fix and cleanup the mess that a dozen prom_printf variants are. 2007-03-04 19:02:37 +00:00
signal-common.h [MIPS] Retry {save,restore}_fp_context if failed in atomic context. 2007-04-20 14:58:37 +01:00
signal.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
signal32.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
signal_n32.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
smp-mt.c [MIPS] Define MIPS_CPU_IRQ_BASE in generic header 2007-02-06 16:53:08 +00:00
smp.c [MIPS] SMP: Get smp_tune_scheduling to do something useful. 2007-02-22 00:50:45 +00:00
smtc-asm.S [MIPS] SMTC: Fix crash if # of TC's > # of VPE's after pt_regs irq cleanup. 2006-11-01 17:46:09 +00:00
smtc-proc.c [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
smtc.c wrap access to thread_info 2007-05-09 12:30:56 -07:00
stacktrace.c simplify the stacktrace code 2007-05-08 11:14:58 -07:00
syscall.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sysirix.c [MIPS] Whitespace cleanups. 2007-02-06 16:53:19 +00:00
time.c [PATCH] clocksource: fixup is_continous changes on MIPS 2007-02-16 08:13:57 -08:00
topology.c [MIPS] Do topology_init even on uniprocessor kernels. 2006-11-29 16:21:34 +00:00
traps.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
unaligned.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
vmlinux.lds.S [PATCH] x86: Allow percpu variables to be page-aligned 2007-05-02 19:27:12 +02:00
vpe.c [MIPS] RTLX, VPE: Make open actually atomic. 2007-02-26 23:06:06 +00:00