]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
uml: remove code made redundant by CHOOSE_MODE removal
authorJeff Dike <jdike@addtoit.com>
Tue, 16 Oct 2007 08:26:58 +0000 (01:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:05 +0000 (09:43 -0700)
commit77bf4400319db9d2a8af6b00c2be6faa0f3d07cb
treeddc8fd48349b8d4dd2c0b26bce7f52f79b4e4077
parentae2587e41254e48e670346aefa332d7469d86352
uml: remove code made redundant by CHOOSE_MODE removal

This patch makes a number of simplifications enabled by the removal of
CHOOSE_MODE.  There were lots of functions that looked like

int foo(args){
foo_skas(args);
}

The bodies of foo_skas are now folded into foo, and their declarations (and
sometimes entire header files) are deleted.

In addition, the union uml_pt_regs, which was a union between the tt and skas
register formats, is now a struct, with the tt-mode arm of the union being
removed.

It turns out that usr2_handler was unused, so it is gone.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
63 files changed:
arch/um/drivers/harddog_user.c
arch/um/include/arch.h
arch/um/include/as-layout.h
arch/um/include/irq_user.h
arch/um/include/kern_util.h
arch/um/include/mconsole.h
arch/um/include/mode.h [deleted file]
arch/um/include/mode_kern.h [deleted file]
arch/um/include/os.h
arch/um/include/registers.h
arch/um/include/skas/mmu-skas.h
arch/um/include/skas/mode_kern_skas.h [deleted file]
arch/um/include/skas/skas.h
arch/um/include/sysdep-i386/ptrace.h
arch/um/include/sysdep-x86_64/ptrace.h
arch/um/include/task.h
arch/um/kernel/exec.c
arch/um/kernel/irq.c
arch/um/kernel/physmem.c
arch/um/kernel/process.c
arch/um/kernel/ptrace.c
arch/um/kernel/reboot.c
arch/um/kernel/signal.c
arch/um/kernel/skas/Makefile
arch/um/kernel/skas/exec.c [deleted file]
arch/um/kernel/skas/mem.c [deleted file]
arch/um/kernel/skas/mmu.c
arch/um/kernel/skas/process.c
arch/um/kernel/skas/syscall.c
arch/um/kernel/skas/tlb.c [deleted file]
arch/um/kernel/syscall.c
arch/um/kernel/time.c
arch/um/kernel/tlb.c
arch/um/kernel/trap.c
arch/um/kernel/um_arch.c
arch/um/os-Linux/aio.c
arch/um/os-Linux/main.c
arch/um/os-Linux/process.c
arch/um/os-Linux/registers.c
arch/um/os-Linux/signal.c
arch/um/os-Linux/skas/mem.c
arch/um/os-Linux/skas/process.c
arch/um/os-Linux/skas/trap.c
arch/um/os-Linux/start_up.c
arch/um/os-Linux/trap.c
arch/um/os-Linux/umid.c
arch/um/sys-i386/bugs.c
arch/um/sys-i386/fault.c
arch/um/sys-i386/ldt.c
arch/um/sys-i386/ptrace.c
arch/um/sys-i386/signal.c
arch/um/sys-i386/tls.c
arch/um/sys-x86_64/bugs.c
arch/um/sys-x86_64/fault.c
arch/um/sys-x86_64/signal.c
arch/um/sys-x86_64/syscalls.c
arch/um/sys-x86_64/tls.c
include/asm-um/mmu_context.h
include/asm-um/processor-generic.h
include/asm-um/ptrace-generic.h
include/asm-um/ptrace-i386.h
include/asm-um/ptrace-x86_64.h
include/asm-um/tlbflush.h