diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2023-02-06 23:24:35 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-09-15 21:12:05 -0400 |
commit | f037fd7fbca4d111955b5889417ddf6fb24498e5 (patch) | |
tree | c8b1eda5db0cdf384f564c45b13d92fffb21102e /scripts/generate_rust_analyzer.py | |
parent | 50247b66428e8aae306b754fb958d4f38a2b102d (diff) |
alpha: unobfuscate _PAGE_P() definition
Way, way back it used to be
_PAGE_NORMAL((x) | ((x & _PAGE_FOW) ? 0 : _PAGE_FOW | _PAGE_COW))
Then (in 1.3.54) _PAGE_COW had died. Result:
_PAGE_NORMAL((x) | ((x & _PAGE_FOW) ? 0 : _PAGE_FOW))
which is somewhat... obscure. What it does is simply
_PAGE_NORMAL((x) | _PAGE_FOW)
and IMO that's easier to follow.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions