aboutsummaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorAaron Lu <aaron.lu@intel.com>2022-08-19 10:30:01 +0800
committerLinus Torvalds <torvalds@linux-foundation.org>2022-08-19 08:17:43 -0700
commit88e0a74902f894fbbc55ad3ad2cb23b4bfba555c (patch)
tree81c7a355de9d07c80fefad2e1392120fcbc65e45 /scripts/clang-tools/gen_compile_commands.py
parent4c2d0b039c5cc0112206a5b22431b577cb1c57ad (diff)
x86/mm: Use proper mask when setting PUD mapping
Commit c164fbb40c43f("x86/mm: thread pgprot_t through init_memory_mapping()") mistakenly used __pgprot() which doesn't respect __default_kernel_pte_mask when setting PUD mapping. Fix it by only setting the one bit we actually need (PSE) and leaving the other bits (that have been properly masked) alone. Fixes: c164fbb40c43 ("x86/mm: thread pgprot_t through init_memory_mapping()") Signed-off-by: Aaron Lu <aaron.lu@intel.com> Cc: stable@kernel.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions