summaryrefslogtreecommitdiffstats
path: root/lib/test_list_sort.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2021-03-16 20:42:05 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2021-04-14 23:04:44 +1000
commit8f6cc75a97d162011fad3c470e5a14e298383a07 (patch)
tree51d7b0474ce57c89ed8dabcb89ccb2201717a99a /lib/test_list_sort.c
parent8dc7f0229b7892ccb23e19c9f30511c68cc0fdcc (diff)
downloadlinux-8f6cc75a97d162011fad3c470e5a14e298383a07.tar.gz
linux-8f6cc75a97d162011fad3c470e5a14e298383a07.tar.bz2
linux-8f6cc75a97d162011fad3c470e5a14e298383a07.zip
powerpc: move norestart trap flag to bit 0
Compact the trap flags down to use the low 4 bits of regs.trap. A few 64e interrupt trap numbers set bit 4. Although they tended to be trivial so it wasn't a real problem[1], it is not the right thing to do, and confusing. [*] E.g., 0x310 hypercall goes to unknown_exception, which prints regs->trap directly so 0x310 will appear fine, and only the syscall interrupt will test norestart, so it won't be confused by 0x310. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210316104206.407354-12-npiggin@gmail.com
Diffstat (limited to 'lib/test_list_sort.c')
0 files changed, 0 insertions, 0 deletions