[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <386072610802230058g5df9ab63pcd55b012ce8740d6@mail.gmail.com>
Date: Sat, 23 Feb 2008 16:58:55 +0800
From: "Bryan Wu" <cooloney@...nel.org>
To: "WANG Cong" <xiyou.wangcong@...il.com>
Cc: "Andrew Morton" <akpm@...l.org>,
LKML <linux-kernel@...r.kernel.org>,
"Christoph Hellwig" <hch@...radead.org>,
"David Howells" <dhowells@...hat.com>
Subject: Re: [PATCH 01/16] Make the macro get_personality function-like.
On Sat, Feb 23, 2008 at 4:14 PM, WANG Cong <xiyou.wangcong@...il.com> wrote:
> This patch makes the macro get_personality function-like.
>
> Signed-off-by: WANG Cong <xiyou.wangcong@...il.com>
> Cc: Christoph Hellwig <hch@...radead.org>
> Cc: Bryan Wu <bryan.wu@...log.com>
> Cc: David Howells <dhowells@...hat.com>
>
> ---
> arch/blackfin/kernel/signal.c | 2 +-
> arch/frv/kernel/signal.c | 4 ++--
> include/linux/personality.h | 2 +-
> 3 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/blackfin/kernel/signal.c b/arch/blackfin/kernel/signal.c
> index 5564c95..f3ef4ee 100644
> --- a/arch/blackfin/kernel/signal.c
> +++ b/arch/blackfin/kernel/signal.c
> @@ -224,7 +224,7 @@ setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t * info,
>
> /* Set up registers for signal handler */
> wrusp((unsigned long)frame);
> - if (get_personality & FDPIC_FUNCPTRS) {
> + if (get_personality() & FDPIC_FUNCPTRS) {
> struct fdpic_func_descriptor __user *funcptr =
> (struct fdpic_func_descriptor *) ka->sa.sa_handler;
> __get_user(regs->pc, &funcptr->text);
It looks ok for Blackfin
Acked-by: Bryan Wu <cooloney@...nel.org>
Thanks a lot.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists