Re: [RFT PATCH -next v3] [BUGFIX] kprobes: Fix "Failed to find blacklist" error on ia64 and ppc64
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx>
- Subject: Re: [RFT PATCH -next v3] [BUGFIX] kprobes: Fix "Failed to find blacklist" error on ia64 and ppc64
- From: Michael Ellerman <michael@xxxxxxxxxxxxxx>
- Date: Wed, 18 Jun 2014 17:56:19 +1000
- Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>, "Suzuki K. Poulose" <suzuki@xxxxxxxxxx>, Tony Luck <tony.luck@xxxxxxxxx>, Paul Mackerras <paulus@xxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, linux-ia64@xxxxxxxxxxxxxxx, sparse@xxxxxxxxxxx, "H. Peter Anvin" <hpa@xxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, linux-tip-commits@xxxxxxxxxxxxxxx, anil.s.keshavamurthy@xxxxxxxxx, Ingo Molnar <mingo@xxxxxxxxxx>, Fenghua Yu <fenghua.yu@xxxxxxxxx>, Arnd Bergmann <arnd@xxxxxxxx>, Rusty Russell <rusty@xxxxxxxxxxxxxxx>, Chris Wright <chrisw@xxxxxxxxxxxx>, yrl.pp-manager.tt@xxxxxxxxxxx, akataria@xxxxxxxxxx, Tony Luck <tony.luck@xxxxxxxxx>, Kevin Hao <haokexin@xxxxxxxxx>, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>, rdunlap@xxxxxxxxxxxxx, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, dl9pf@xxxxxx, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, linuxppc-dev@xxxxxxxxxxxxxxxx, "David S. Miller" <davem@xxxxxxxxxxxxx>
- In-reply-to: <539161D6.7020508@hitachi.com>
- List-id: <linux-ia64.vger.kernel.org>
- References: <5387F150.5000307@hitachi.com> <20140530031838.17427.75896.stgit@ltc230.yrl.intra.hitachi.co.jp> <539161D6.7020508@hitachi.com>
On Fri, 2014-06-06 at 15:38 +0900, Masami Hiramatsu wrote:
> Ping?
>
> I guess this should go to 3.16 branch, shouldn't it?
> > diff --git a/arch/powerpc/include/asm/types.h b/arch/powerpc/include/asm/types.h
> > index bfb6ded..8b89d65 100644
> > --- a/arch/powerpc/include/asm/types.h
> > +++ b/arch/powerpc/include/asm/types.h
> > @@ -25,6 +25,17 @@ typedef struct {
> > unsigned long env;
> > } func_descr_t;
> >
> > +#if defined(CONFIG_PPC64) && (!defined(_CALL_ELF) || _CALL_ELF == 1)
> > +/*
> > + * On PPC64 ABIv1 the function pointer actually points to the
> > + * function's descriptor. The first entry in the descriptor is the
> > + * address of the function text.
> > + */
> > +#define function_entry(fn) (((func_descr_t *)(fn))->entry)
> > +#else
> > +#define function_entry(fn) ((unsigned long)(fn))
> > +#endif
We already have ppc_function_entry(), can't you use that?
cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]