[PATCH V4 00/26] mm/mmap: Drop __SXXX/__PXXX macros from across platforms
Christoph Hellwig
hch at infradead.org
Fri Jun 24 15:21:44 AEST 2022
On Fri, Jun 24, 2022 at 10:50:33AM +0530, Anshuman Khandual wrote:
> > On most architectures this should be const now, only very few ever
> > modify it.
>
> Will make it a 'static const pgprot_t protection_map[16] __ro_after_init'
> on platforms that do not change the protection_map[] even during boot.
No need for __ro_after_init when it is already declarated const.
More information about the Linuxppc-dev
mailing list