diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 19:24:38 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 20:35:03 +0100 |
| commit | a984eb367c032dbe2577f01238c3d1268526be70 (patch) | |
| tree | 437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/asm-generic/mman-common.h | |
| parent | 8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff) | |
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/asm-generic/mman-common.h')
| -rw-r--r-- | include/arch/x86_64/asm-generic/mman-common.h | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/include/arch/x86_64/asm-generic/mman-common.h b/include/arch/x86_64/asm-generic/mman-common.h index cbcba366..f571d971 100644 --- a/include/arch/x86_64/asm-generic/mman-common.h +++ b/include/arch/x86_64/asm-generic/mman-common.h @@ -14,11 +14,10 @@ /* 0x10 reserved for arch-specific use */ /* 0x20 reserved for arch-specific use */ #define PROT_NONE 0x0 /* page can not be accessed */ -#define PROT_GROWSDOWN \ - 0x01000000 /* mprotect flag: extend change to start of growsdown vma \ - */ -#define PROT_GROWSUP \ - 0x02000000 /* mprotect flag: extend change to end of growsup vma */ +#define PROT_GROWSDOWN \ + 0x01000000 /* mprotect flag: extend change to start of growsdown vma \ + */ +#define PROT_GROWSUP 0x02000000 /* mprotect flag: extend change to end of growsup vma */ /* 0x01 - 0x03 are defined in linux/mman.h */ #define MAP_TYPE 0x0f /* Mask for type of mapping */ @@ -28,15 +27,14 @@ /* 0x0100 - 0x4000 flags are defined in asm-generic/mman.h */ #define MAP_POPULATE 0x008000 /* populate (prefault) pagetables */ #define MAP_NONBLOCK 0x010000 /* do not block on IO */ -#define MAP_STACK \ - 0x020000 /* give out an address that is best suited for process/thread \ - stacks */ +#define MAP_STACK \ + 0x020000 /* give out an address that is best suited for process/thread \ + stacks */ #define MAP_HUGETLB 0x040000 /* create a huge page mapping */ -#define MAP_SYNC \ - 0x080000 /* perform synchronous page faults for the mapping \ - */ -#define MAP_FIXED_NOREPLACE \ - 0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */ +#define MAP_SYNC \ + 0x080000 /* perform synchronous page faults for the mapping \ + */ +#define MAP_FIXED_NOREPLACE 0x100000 /* MAP_FIXED which doesn't unmap underlying mapping */ #define MAP_UNINITIALIZED \ 0x4000000 /* For anonymous mmap, memory could be \ |
