On 22.04.2025 13:41, Andrew Cooper wrote:
> We have a mix of all 3 spellings in Xen, as well as having compatibility in
> compiler.h for older C standards.
> 
> Remove the use of __alignof() and __alignof__(), which reduced code volume a
> little.
> 
> No functional change.
> 
> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>

Acked-by: Jan Beulich <jbeul...@suse.com>
as it seems sufficiently unlikely that ...

> ---
>  xen/arch/x86/xstate.c                |  4 ++--
>  xen/common/coverage/gcc_3_4.c        |  4 ++--
>  xen/common/device-tree/device-tree.c |  8 ++++----
>  xen/include/xen/config.h             |  2 +-
>  xen/include/xen/percpu.h             |  2 +-
>  xen/include/xen/xmalloc.h            | 16 ++++++++--------
>  xen/include/xen/xvmalloc.h           | 16 ++++++++--------
>  7 files changed, 26 insertions(+), 26 deletions(-)

... the headers here might want re-using from outside of xen/. As mentioned
on Matrix the other day when a question was raised about asm() vs its
similar alternative spellings, I think it's generally a good idea to keep
headers tidy of possible name space conflicts. Just that for the ones
touched here this seems pretty unimportant.

Jan

Reply via email to