summaryrefslogtreecommitdiff
path: root/kernel/sched/cpudeadline.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2023-09-25 20:31:38 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2023-10-19 17:12:46 +1100
commita78587473642aec302697cdaceb719a7f8791369 (patch)
tree2b16d51c31c4c84c3d49ba4899e8adfaa0ac54f3 /kernel/sched/cpudeadline.h
parent69339071bb27f0b1371cd23d6dada3f976261c20 (diff)
powerpc: Rely on address instead of pte_user()
pte_user() may return 'false' when a user page is PAGE_NONE. In that case it is still a user page and needs to be handled as such. So use is_kernel_addr() instead. And remove "user" text from ptdump as ptdump only dumps kernel tables. Note: no change done for book3s/64 which still has it 'priviledge' bit. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/c778dad89fad07727c31717a9c62f45357c29ebc.1695659959.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'kernel/sched/cpudeadline.h')
0 files changed, 0 insertions, 0 deletions