Thread (9 messages) 9 messages, 2 authors, 2018-08-10

Re: [PATCH v6 3/4] compiler.h: Allow arch-specific overrides

From: Arnd Bergmann <arnd@arndb.de>
Date: 2018-08-09 20:35:16
Also in: linux-mips, linux-um

On Thu, Aug 9, 2018 at 7:45 PM Paul Burton [off-list ref] wrote:
Include an arch-specific asm/compiler.h and allow for it to define a
custom version of barrier_before_unreachable(), which is needed to
workaround several issues on the MIPS architecture.

This patch includes an effectively empty asm-generic implementation of
asm/compiler.h for all architectures except alpha, arm, arm64, and mips
(which already have an asm/compiler.h) and leaves the architecture
specifics to a further patch.

Signed-off-by: Paul Burton <redacted>
[jhogan@kernel.org: Forward port and use asm/compiler.h instead of
 asm/compiler-gcc.h]
Signed-off-by: James Hogan <jhogan@kernel.org>
Reviewed-by: Paul Burton <redacted>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Ralf Baechle <redacted>
Cc: linux-arch@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-um@lists.infradead.org
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help