From: Peter Zijlstra <peterz@infradead•org>
To: Anton Blanchard <anton@samba•org>
Cc: heiko.carstens@de•ibm.com, paulus@samba•org, hpa@zytor•com,
mingo@kernel•org, linux@arm•linux.org.uk, mingo@redhat•com,
mgorman@suse•de, catalin.marinas@arm•com, liuj97@gmail•com,
linux-kbuild@vger•kernel.org, will.deacon@arm•com,
rostedt@goodmis•org, jbaron@akamai•com, tglx@linutronix•de,
mmarek@suse•cz, linux-kernel@vger•kernel.org,
ralf@linux-mips•org, schwidefsky@de•ibm.com,
akpm@linux-foundation•org, linuxppc-dev@lists•ozlabs.org,
davem@davemloft•net
Subject: Re: [PATCH 1/3] jump_label: Allow asm/jump_label.h to be included in assembly
Date: Thu, 9 Apr 2015 09:08:13 +0200 [thread overview]
Message-ID: <20150409070813.GM27490@worktop.programming.kicks-ass.net> (raw)
In-Reply-To: <1428551492-21977-1-git-send-email-anton@samba.org>
On Thu, Apr 09, 2015 at 01:51:30PM +1000, Anton Blanchard wrote:
> Wrap asm/jump_label.h for all archs with #ifndef __ASSEMBLY__.
> Since these are kernel only headers, we don't need #ifdef __KERNEL__
> so can simplify things a bit.
>
> If an architecture wants to use jump labels in assembly, it
> will still need to define a macro to create the __jump_table
> entries (see ARCH_STATIC_BRANCH in the powerpc asm/jump_label.h
> for an example).
>
> Signed-off-by: Anton Blanchard <anton@samba•org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead•org>
next prev parent reply other threads:[~2015-04-09 7:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-09 3:51 [PATCH 1/3] jump_label: Allow asm/jump_label.h to be included in assembly Anton Blanchard
2015-04-09 3:51 ` [PATCH 2/3] jump_label: Allow jump labels to be used " Anton Blanchard
2015-04-09 7:08 ` Peter Zijlstra
2015-04-09 14:03 ` Steven Rostedt
2015-04-09 3:51 ` [PATCH 3/3] powerpc: Include linux/jump_label.h to get HAVE_JUMP_LABEL define Anton Blanchard
2015-04-09 7:08 ` Peter Zijlstra
2015-04-09 7:33 ` Michael Ellerman
2015-04-09 14:04 ` Steven Rostedt
2015-04-09 7:08 ` Peter Zijlstra [this message]
2015-04-09 14:00 ` [PATCH 1/3] jump_label: Allow asm/jump_label.h to be included in assembly Steven Rostedt
-- strict thread matches above, loose matches on Subject: below --
2015-04-09 3:50 Anton Blanchard
2015-01-07 10:35 Anton Blanchard
2015-01-07 11:30 ` Will Deacon
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=20150409070813.GM27490@worktop.programming.kicks-ass.net \
--to=peterz@infradead$(echo .)org \
--cc=akpm@linux-foundation$(echo .)org \
--cc=anton@samba$(echo .)org \
--cc=catalin.marinas@arm$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=heiko.carstens@de$(echo .)ibm.com \
--cc=hpa@zytor$(echo .)com \
--cc=jbaron@akamai$(echo .)com \
--cc=linux-kbuild@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux@arm$(echo .)linux.org.uk \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=liuj97@gmail$(echo .)com \
--cc=mgorman@suse$(echo .)de \
--cc=mingo@kernel$(echo .)org \
--cc=mingo@redhat$(echo .)com \
--cc=mmarek@suse$(echo .)cz \
--cc=paulus@samba$(echo .)org \
--cc=ralf@linux-mips$(echo .)org \
--cc=rostedt@goodmis$(echo .)org \
--cc=schwidefsky@de$(echo .)ibm.com \
--cc=tglx@linutronix$(echo .)de \
--cc=will.deacon@arm$(echo .)com \
/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