[Top] [All Lists]

Re: [PATCH] Use compat code to translate siginfo_t for N32

To: "Yoichi Yuasa" <>
Subject: Re: [PATCH] Use compat code to translate siginfo_t for N32
From: "Peter Watkins" <>
Date: Fri, 28 Jul 2006 13:00:01 -0400
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta;; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=rYkyB4uZVvtfifzsokuStGaDHHrVDxDRsM1qbVMsN2KEvWdm0b5IrB7RxQVWjkIdvD8dGBnV1pzxdCrDDtagcow9UwEKaMxVom0HZPVs/gzNUfKHFCLEHmth9S0uq4WImz6O1zNGGVqlFKrXDzsJtw5Axyz2Y3v/CxSjhyavc/c=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
Hello Yoichi,

The attached patch addresses your points, and ends up cleaner and
simpler. Except:

> diff --git a/arch/mips/kernel/signal_n32.c b/arch/mips/kernel/signal_n32.c
> index 477c533..f805bea 100644
> --- a/arch/mips/kernel/signal_n32.c
> +++ b/arch/mips/kernel/signal_n32.c


> @@ -74,7 +76,7 @@ #if ICACHE_REFILLS_WORKAROUND_WAR
>  #else
>       u32 rs_code[2];                 /* signal trampoline */
>  #endif
> -     struct siginfo rs_info;
> +     compat_siginfo_t rs_info;

use struct compat_siginfo .

I did not change this as it's currently consistent with the form used
in signal32.c and signal_n32.c. If we want to change this, it seemed
preferable to have another patch for just that purpose.

- Peter

Attachment: patch-siginfo-2.6.18-rc1.txt
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>