# Re: \[RFC PATCH 6/7\] static\_call: rename EXPORT\_ macros to be more self-explanatory

- From: Peter Zijlstra \<peterz@infradead.org\>
- Date: 2021-11-09 19:00:27 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/11/1567237
- Thread: https://ratatoskr.run/linux-arm-kernel/2021/11/1567125/t.md

```text
On Tue, Nov 09, 2021 at 05:45:48PM +0100, Ard Biesheuvel wrote:
> So let's rename these macros to
> 
>   EXPORT_STATIC_CALL        -> EXPORT_STATIC_CALL_FOR_UPDATE
>   EXPORT_STATIC_CALL_TRAMP  -> EXPORT_STATIC_CALL
> 

Ok, let's pain this shed a bit.

How about:

	EXPORT_STATIC_CALL_RW
	EXPORT_STATIC_CALL_RO

respectively. OR.. alternatively, have both:

	EXPORT_STATIC_CALL_KEY
	EXPORT_STATIC_CALL_TRAMP

and those that want to export both get to use both.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
