]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
uml: tidy fault code
authorJeff Dike <jdike@addtoit.com>
Sun, 6 May 2007 21:51:24 +0000 (14:51 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:13:02 +0000 (12:13 -0700)
commit5d86456d3852cb95a38d2b23fe01cede54984ba5
treea0e973d629717d93c7b4dc32ad7afd9e64f5f974
parentccdddb57874522e6b267204f9c5e94ba7d9d66b0
uml: tidy fault code

Tidying in preparation for the segfault register dumping patch which follows.

void * pointers are changed to union uml_pt_regs *.  This makes the types
match reality, except in arch_fixup, which is changed to operate on a union
uml_pt_regs.  This fixes a bug in the call from segv_handler, which passes a
union uml_pt_regs, to segv, which expects to pass a struct sigcontext to
arch_fixup.

Whitespace and other style fixes.

There's also a errno printk fix.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/include/arch.h
arch/um/include/kern_util.h
arch/um/kernel/trap.c
arch/um/os-Linux/skas/trap.c
arch/um/sys-i386/fault.c
arch/um/sys-i386/signal.c
arch/um/sys-x86_64/fault.c
arch/um/sys-x86_64/signal.c