All of lore.kernel.org
 help / color / mirror / Atom feed
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: move brk immediate argument definitions to separate header
Date: Tue, 23 Feb 2016 10:16:42 +0000	[thread overview]
Message-ID: <20160223101642.GB3966@arm.com> (raw)
In-Reply-To: <1456214205-18743-1-git-send-email-ard.biesheuvel@linaro.org>

On Tue, Feb 23, 2016 at 08:56:45AM +0100, Ard Biesheuvel wrote:
> Instead of reversing the header dependency between asm/bug.h and
> asm/debug-monitors.h, split off the brk instruction immediate value
> defines into a new header asm/brk-imm.h, and include it from both.
> 
> This solves the circular dependency issue that prevents BUG() from
> being used in some header files, and keeps the definitions together.
> 
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> ---
>  arch/arm64/include/asm/brk-imm.h        | 25 +++++++++++++++++++++++++
>  arch/arm64/include/asm/bug.h            |  2 +-
>  arch/arm64/include/asm/debug-monitors.h | 14 +-------------
>  3 files changed, 27 insertions(+), 14 deletions(-)
>  create mode 100644 arch/arm64/include/asm/brk-imm.h

Acked-by: Will Deacon <will.deacon@arm.com>

Will

      reply	other threads:[~2016-02-23 10:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23  7:56 [PATCH] arm64: move brk immediate argument definitions to separate header Ard Biesheuvel
2016-02-23 10:16 ` Will Deacon [this message]

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=20160223101642.GB3966@arm.com \
    --to=will.deacon@arm.com \
    --cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.