aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mm/proc-macros.S
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2021-09-21 15:31:23 +0100
committerRussell King (Oracle) <[email protected]>2021-10-19 10:37:34 +0100
commit00d43d13da6c3424101aebabefab9e97e6318bee (patch)
treeb4428cfc1f7db61cc2525ec766b57f969619bde7 /arch/arm/mm/proc-macros.S
parent9d417cbe36eee7afdd85c2e871685f8dab7c2dba (diff)
ARM: 9125/1: fix incorrect use of get_kernel_nofault()
Commit 344179fc7ef4 ("ARM: 9106/1: traps: use get_kernel_nofault instead of set_fs()") replaced an occurrence of __get_user() with get_kernel_nofault(), but inverted the sense of the conditional in the process, resulting in no values to be printed at all. I.e., every exception stack now looks like this: Exception stack(0xc18d1fb0 to 0xc18d1ff8) 1fa0: ???????? ???????? ???????? ???????? 1fc0: ???????? ???????? ???????? ???????? ???????? ???????? ???????? ???????? 1fe0: ???????? ???????? ???????? ???????? ???????? ???????? which is rather unhelpful. Fixes: 344179fc7ef4 ("ARM: 9106/1: traps: use get_kernel_nofault instead of set_fs()") Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]>
Diffstat (limited to 'arch/arm/mm/proc-macros.S')
0 files changed, 0 insertions, 0 deletions