Re: [PATCH] powerpc: Add jump label support
From: Michael Ellerman
Date: Mon Nov 08 2010 - 22:33:33 EST
On Tue, 2010-11-09 at 13:35 +1100, Stephen Rothwell wrote:
> Hi Michael,
>
> Just a trivial note ...
>
> On Mon, 8 Nov 2010 15:12:46 +1100 (EST) Michael Ellerman <michael@xxxxxxxxxxxxxx> wrote:
> >
> > diff --git a/arch/powerpc/include/asm/jump_label.h b/arch/powerpc/include/asm/jump_label.h
> > new file mode 100644
> > index 0000000..feffb86
> > --- /dev/null
> > +++ b/arch/powerpc/include/asm/jump_label.h
> > @@ -0,0 +1,46 @@
> > +#ifndef _ASM_POWERPC_JUMP_LABEL_H
> > +#define _ASM_POWERPC_JUMP_LABEL_H
> > +
> > +/*
> > + * Copyright 2010 Michael Ellerman, IBM Corp.
> > + *
> > + * This program is free software; you can redistribute it and/or
> > + * modify it under the terms of the GNU General Public License
> > + * as published by the Free Software Foundation; either version
> > + * 2 of the License, or (at your option) any later version.
> > + */
> > +
> > +#ifdef __KERNEL__
>
> You don't need this protection in a file that is not exported to user
> space.
Ah true. I'll respin after I've heard if anyone has tested it :)
cheers
Attachment:
signature.asc
Description: This is a digitally signed message part