[PATCH v3 1/7] powerpc: add explicit #include <asm/asm-compat.h> for jump label

Subsystems: linux for powerpc (32-bit and 64-bit), static branch/call, the rest

STALE3704d

Revision v3 of 3 in this series.

2 messages, 2 authors, 2016-07-08 · open the first message on its own page

[PATCH v3 1/7] powerpc: add explicit #include <asm/asm-compat.h> for jump label

From: Jason Baron <jbaron@akamai.com>
Date: 2016-07-06 21:43:17

The stringify_in_c() macro may not be included. Make the dependency
explicit.

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <redacted>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Jason Baron <jbaron@akamai.com>
---
 arch/powerpc/include/asm/jump_label.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/include/asm/jump_label.h b/arch/powerpc/include/asm/jump_label.h
index 47e155f15433..9af103a23975 100644
--- a/arch/powerpc/include/asm/jump_label.h
+++ b/arch/powerpc/include/asm/jump_label.h
@@ -14,6 +14,7 @@
 #include <linux/types.h>
 
 #include <asm/feature-fixups.h>
+#include <asm/asm-compat.h>
 
 #define JUMP_ENTRY_TYPE		stringify_in_c(FTR_ENTRY_LONG)
 #define JUMP_LABEL_NOP_SIZE	4
-- 
2.6.1

Re: [v3, 1/7] powerpc: add explicit #include <asm/asm-compat.h> for jump label

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-07-08 13:41:36

On Wed, 2016-06-07 at 21:42:30 UTC, jbaron@akamai.com wrote:
The stringify_in_c() macro may not be included. Make the dependency
explicit.

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <redacted>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Jason Baron <jbaron@akamai.com>
I didn't test it, but assuming you did:

Acked-by: Michael Ellerman <mpe@ellerman.id.au>

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help