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

- From: Dave Hansen \<hidden\>
- Date: 2021-03-16 17:47:23 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2021/03/6303621
- Thread: https://ratatoskr.run/linux-doc/2021/03/6303399/t.md

```text
On 3/16/21 10:44 AM, Yu, Yu-cheng wrote:
>> Also, Boris asked for two *different* macros for 32 and 64-bit:
>>
>> https://lore.kernel.org/linux-api/20210310231731.GK23521@zn.tnic/
>>
>> Could you do that in the next version, please?
> 
> Yes, we can do two macros, probably in arch/x86/include/asm/vdso.h.

*But*, please do leverage _CET_ENDBR if you can.  It seems awfully close
to what we need.  If it works out, just use it for the 32/64-bit switch.
```
