Re: [PATCH v3] pahole: Add --kabi_prefix flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Em Fri, May 21, 2021 at 09:44:20AM +0800, Shuyi Cheng escreveu:
> To solve problems similar to _RH_KABI_REPLACE. The _RH_KABI_REPLACE(_orig,
> _new) macros perserve size alignment and kabi agreement between _orig and
> _new.Below is the definition of this macro:
> 
> # define _RH_KABI_REPLACE(_orig, _new)            \
>     union {                        \
>         _new;                    \
>         struct {                \
>             _orig;                \
>         } __UNIQUE_ID(rh_kabi_hide);        \
>         __RH_KABI_CHECK_SIZE_ALIGN(_orig, _new);    \
>     }

Thanks, applied.

- Arnaldo




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux