summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-10-20 09:29:11 -1000
committerLinus Torvalds <torvalds@linux-foundation.org>2026-10-20 09:29:11 -1000
commit5a36c24b0ec8fe15ddffa3148ae93a4691ea7c8f (patch)
tree791f777b30911996a0332049b30dec42b28fa714 /scripts/Makefile.thinlto
parent8eb93b8a67181827611d2a242de5983a04f2bc8c (diff)
downloadlinux-5a36c24b0ec8fe15ddffa3148ae93a4691ea7c8f.tar.gz
linux-5a36c24b0ec8fe15ddffa3148ae93a4691ea7c8f.zip
openrisc: use get_kernel_nofault() in show_registers()
show_registers() dumps the stack and the code around the PC, but only for a kernel-mode fault, and only after checking that each address is at or above PAGE_OFFSET. Both are kernel addresses that may not be mapped. It reads them with __get_user(), which predates get_kernel_nofault(), the interface for exactly this: a kernel address that may not be mapped, read with page faults disabled. This is part of getting rid of __get_user() and __put_user() entirely. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions