public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail•com>
To: catalin.marinas@arm•com
Cc: linux-next@vger•kernel.org, sfr@canb•auug.org.au
Subject: [PATCH -next] Fix "W" macro in unified.h
Date: Sun, 6 Sep 2009 01:02:40 +0400	[thread overview]
Message-ID: <20090905210240.GA3525@x200.localdomain> (raw)

Please, fold into 0becb088501886f37ade38762c8eaaf4263572cc
aka "Thumb-2: Add macros for the unified assembler syntax"

otherwise:

	crypto/cast6.c:372:39: error: macro "W" passed 2 arguments, but takes just 1

Signed-off-by: Alexey Dobriyan <adobriyan@gmail•com>
---

 arch/arm/include/asm/unified.h |    4 ++++
 1 file changed, 4 insertions(+)

--- a/arch/arm/include/asm/unified.h
+++ b/arch/arm/include/asm/unified.h
@@ -35,7 +35,9 @@
 
 #define ARM(x...)
 #define THUMB(x...)	x
+#ifdef __ASSEMBLY__
 #define W(instr)	instr.w
+#endif
 #define BSYM(sym)	sym + 1
 
 #else	/* !CONFIG_THUMB2_KERNEL */
@@ -45,7 +47,9 @@
 
 #define ARM(x...)	x
 #define THUMB(x...)
+#ifdef __ASSEMBLY__
 #define W(instr)	instr
+#endif
 #define BSYM(sym)	sym
 
 #endif	/* CONFIG_THUMB2_KERNEL */

             reply	other threads:[~2009-09-05 21:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-05 21:02 Alexey Dobriyan [this message]
2009-09-07  9:00 ` [PATCH -next] Fix "W" macro in unified.h Catalin Marinas

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=20090905210240.GA3525@x200.localdomain \
    --to=adobriyan@gmail$(echo .)com \
    --cc=catalin.marinas@arm$(echo .)com \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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