aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorAaron Lu <[email protected]>2022-08-19 10:30:01 +0800
committerLinus Torvalds <[email protected]>2022-08-19 08:17:43 -0700
commit88e0a74902f894fbbc55ad3ad2cb23b4bfba555c (patch)
tree81c7a355de9d07c80fefad2e1392120fcbc65e45 /net/lapb/lapb_out.c
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 <[email protected]> Cc: [email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions