Messages in this thread | | | Date | Thu, 26 Apr 2012 10:51:48 -0700 | From | Stephen Boyd <> | Subject | Re: [PATCH] Move most arches to asm-generic/current.h |
| |
On 04/23/12 20:18, Stephen Boyd wrote: > Make get_current() into a static inline function in the > generic version of current.h so we match what almost every > architecture is doing. This allows us to move most of the arches > over to this generic header instead of redefining the same thing > over and over in each asm directory. > > Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> > Cc: linux-arch@vger.kernel.org > --- > diff --git a/arch/alpha/include/asm/Kbuild b/arch/alpha/include/asm/Kbuild > index e423def..8b8f979 100644 > --- a/arch/alpha/include/asm/Kbuild > +++ b/arch/alpha/include/asm/Kbuild > @@ -2,6 +2,7 @@ include include/asm-generic/Kbuild.asm > > header-y += compiler.h > header-y += console.h > +header-y += current.h
Oops. This should be generic-y not header-y.
-- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
| |