linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd@codeaurora.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org
Subject: Re: [PATCH] Move most arches to asm-generic/current.h
Date: Thu, 26 Apr 2012 10:51:48 -0700	[thread overview]
Message-ID: <4F998B34.4090403@codeaurora.org> (raw)
In-Reply-To: <1335237509-17113-1-git-send-email-sboyd@codeaurora.org>

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.

  parent reply	other threads:[~2012-04-26 17:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-24  3:18 [PATCH] Move most arches to asm-generic/current.h Stephen Boyd
2012-04-24  3:30 ` David Miller
2012-04-26 17:51 ` Stephen Boyd [this message]
2012-04-30  9:08 ` David Howells
2012-04-30 12:51 ` Chris Metcalf
2012-04-30 14:15 ` Arnd Bergmann
2012-04-30 16:35   ` Stephen Boyd
2012-04-30 16:38     ` Arnd Bergmann
2012-04-30 17:07       ` Stephen Boyd
2012-04-30 17:07         ` Stephen Boyd
2012-04-30 17:11         ` Matt Turner
2012-04-30 19:52         ` Arnd Bergmann
2012-08-22 19:25 ` [PATCH/RESEND] " Stephen Boyd
2012-08-22 19:25   ` Stephen Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F998B34.4090403@codeaurora.org \
    --to=sboyd@codeaurora.org \
    --cc=arnd@arndb.de \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).