projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d4866d
)
powerpc64: Set PPC64_ELF_ABI_v[1|2] macros to 1
author
Naveen N. Rao
<naveen.n.rao@linux.vnet.ibm.com>
Mon, 14 Feb 2022 10:41:40 +0000
(16:11 +0530)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Mon, 7 Mar 2022 13:04:57 +0000
(
00:04
+1100)
Set macros to 1 so that they can be used with __is_defined().
Suggested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/abad4868416ddfd42893f99c0cad8e5faf998095.1644834730.git.naveen.n.rao@linux.vnet.ibm.com
arch/powerpc/include/asm/types.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/types.h
b/arch/powerpc/include/asm/types.h
index 97da77bc48c911a0074eb45526733b9c43aef254..84078c28c1a2c1278d721819f5ab6a961e0ae96a 100644
(file)
--- a/
arch/powerpc/include/asm/types.h
+++ b/
arch/powerpc/include/asm/types.h
@@
-13,9
+13,9
@@
#ifdef __powerpc64__
#if defined(_CALL_ELF) && _CALL_ELF == 2
-#define PPC64_ELF_ABI_v2
+#define PPC64_ELF_ABI_v2
1
#else
-#define PPC64_ELF_ABI_v1
+#define PPC64_ELF_ABI_v1
1
#endif
#endif /* __powerpc64__ */