summaryrefslogtreecommitdiffstats
path: root/net/can
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2021-03-16 11:42:05 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2021-04-14 15:04:44 +0200
commit8f6cc75a97d162011fad3c470e5a14e298383a07 (patch)
tree51d7b0474ce57c89ed8dabcb89ccb2201717a99a /net/can
parentpowerpc: remove partial register save logic (diff)
downloadlinux-8f6cc75a97d162011fad3c470e5a14e298383a07.tar.xz
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 'net/can')
0 files changed, 0 insertions, 0 deletions