On 3/5/26 11:50, Lorenzo Stoakes (Oracle) wrote: > Be explicit about __mk_vma_flags() (which is used by the mk_vma_flags() > macro) always being inline, as we rely on the compiler converting this > function into meaningful. > > Also update all of the functions __mk_vma_flags() ultimately invokes to be > always inline too. > > Note that test_bitmap_const_eval() asserts that the relevant bitmap > functions result in build time constant values. > > Additionally, vma_flag_set() operates on a vma_flags_t type, so it is > inconsistently named versus other VMA flags functions. > > We only use vma_flag_set() in __mk_vma_flags() so we don't need to worry > about its new name being rather cumbersome, so rename it to > vma_flags_set_flag() to disambiguate it from vma_flags_set(). > > Also update the VMA test headers to reflect the changes.
Acked-by: David Hildenbrand (Arm) <[email protected]> -- Cheers, David

