Re: [PATCH v23 6/9] x86/entry: Introduce ENDBR macro

From
Peter Zijlstra <peterz@infradead.org>
Date
2021-03-16 21:04:02
Also in
linux-api, linux-arch, linux-mm, lkml
Reply to
Yu, Yu-cheng, 2021-03-16
On Tue, Mar 16, 2021 at 01:26:52PM -0700, Yu, Yu-cheng wrote:
Then, what about moving what I had earlier to vdso.h?
If we don't want __i386__ either, then make it two macros.
vdso.h seems to use CONFIG_X86_{64,32} resp.
+.macro ENDBR
+#ifdef CONFIG_X86_CET
And shouldn't that be CONFIG_X86_IBT ?

+#ifdef __i386__
#ifdef CONFIG_X86_32
quoted hunk ↗ jump to hunk
+	endbr32
+#else
+	endbr64
+#endif
+#endif
+.endm
  
Thread (26 messages) 26 messages, 5 authors, last reply 2021-03-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help