[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131106114530.76b63b05@gandalf.local.home>
Date: Wed, 6 Nov 2013 11:45:30 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Will Deacon <will.deacon@....com>
Cc: Jiang Liu <liuj97@...il.com>,
Catalin Marinas <Catalin.Marinas@....com>,
Sandeepa Prabhu <sandeepa.prabhu@...aro.org>,
Jiang Liu <jiang.liu@...wei.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v5 4/7] arm64: introduce
aarch64_insn_gen_{nop|branch_imm}() helper functions
On Wed, 30 Oct 2013 00:48:40 +0000
Will Deacon <will.deacon@....com> wrote:
> > +}
> > +
> > +static __always_inline u32 aarch64_insn_gen_nop(void)
> > +{
> > + return aarch64_insn_gen_hint(AARCH64_INSN_HINT_NOP);
> > +}
>
> Either use plain old `inline' or write these as preprocessor macros.
>
I'm curious to why you say that? Preprocessor macros are rather ugly,
and in x86 we use "__always_inline" quite liberally.
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists