[PARISC] Compat signal fixes for 64-bit parisc
authorCarlos O'Donell Jr <carlos@systemhalted.org>
Fri, 16 Feb 2007 15:54:10 +0000 (10:54 -0500)
committerKyle McMartin <kyle@athena.road.mcmartin.ca>
Sat, 17 Feb 2007 06:22:00 +0000 (01:22 -0500)
commitf6744bdd7346dcdf94b9a7ac6fb820693b2724cd
tree4b69d15e8784e50a024287624426ed59d87892fc
parent1e67685b1b654138a20a4db487cf12c3fca968f2
[PARISC] Compat signal fixes for 64-bit parisc

In copy_siginfo_from_user32:
Use compat_uptr_t. Use compat_ptr().

In copy_siginfo_to_user32:
Use compat_int_t. Use ptr_to_compat().

The sigevent_t structure has a 64-bit si_ptr field
that when copied to a 32-bit si_ptr will copy the wrong
word. For the compat copy use the si_int field instead.

Signed-off-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/signal32.c