ANDROID: 16K: Use bit 59 for __VM_NO_COMPAT

Bit [60,63] are now used for ELF padding representation,
use bit 59 for __VM_NO_COMPAT.

Bug: 383389337
Bug: 330117029
Bug: 327600007
Bug: 330767927
Bug: 328266487
Bug: 329803029
Change-Id: Ia13a810c6af22936644abd73202295cc2e0ce8b2
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
This commit is contained in:
Kalesh Singh
2024-04-22 07:56:30 -07:00
committed by Carlos Llamas
parent eb54f19663
commit ac98b230db

View File

@@ -99,7 +99,7 @@ static __always_inline unsigned __page_shift(void)
* NOTE: __MAP_NO_COMPAT is not new UABI it is only ever set by the kernel
* in ___filemap_fixup()
*/
#define __VM_NO_COMPAT (_AC(1,ULL) << 63)
#define __VM_NO_COMPAT (_AC(1,ULL) << 59)
#define __MAP_NO_COMPAT (_AC(1,UL) << 31)
/*