Re: [PATCH] Consolidate the last compat sigvals

From: Ralf Baechle
Date: Wed Feb 16 2005 - 12:52:04 EST


On Tue, Feb 15, 2005 at 03:46:48PM +1100, Stephen Rothwell wrote:

> This patch just consolidates the last of the (what should have been)
> compat_sigval_ts. It worries me that S390 has a sigval_t in its struct
> compat_siginfo, but I have left that for now.
>
> Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
>
> P.S. this patch has not even been compiled as I don't have acces to any of
> the platforms involved, but should be straight forward to fix if it breaks
> anything.

You missed one instance for MIPS. Below patch makes MIPS build.

Ralf

Signed-off-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx>

signal32.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-oprof/arch/mips/kernel/signal32.c
===================================================================
--- linux-oprof.orig/arch/mips/kernel/signal32.c 2005-02-16 17:42:42.000000000 +0000
+++ linux-oprof/arch/mips/kernel/signal32.c 2005-02-16 17:43:46.000000000 +0000
@@ -78,7 +78,7 @@
struct {
timer_t _tid; /* timer id */
int _overrun; /* overrun count */
- sigval_t32 _sigval; /* same as below */
+ compat_sigval_t _sigval;/* same as below */
int _sys_private; /* not to be passed to user */
} _timer;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/