diff options
author | 2022-05-26 22:20:39 +0800 | |
---|---|---|
committer | 2022-05-27 12:19:56 +0200 | |
commit | e19d11267f0e6c8aff2d15d2dfed12365b4c9184 (patch) | |
tree | 3181fe609026bf8298704454f144f101b9b01e71 /scripts/generate_rust_analyzer.py | |
parent | Merge tag 'sched-core-2022-05-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (diff) | |
download | wireguard-linux-e19d11267f0e6c8aff2d15d2dfed12365b4c9184.tar.xz wireguard-linux-e19d11267f0e6c8aff2d15d2dfed12365b4c9184.zip |
x86/mm: Use PAGE_ALIGNED(x) instead of IS_ALIGNED(x, PAGE_SIZE)
The <linux/mm.h> already provides the PAGE_ALIGNED() macro. Let's
use this macro instead of IS_ALIGNED() and passing PAGE_SIZE directly.
No change in functionality.
[ mingo: Tweak changelog. ]
Signed-off-by: Fanjun Kong <bh1scw@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20220526142038.1582839-1-bh1scw@gmail.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions