aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/powerpc/kernel/setup-common.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-04-30 12:39:05 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2019-05-03 01:20:28 +1000
commitd1865e71cdc9b75b6a6716a2983eb5d6004cfca9 (patch)
treeb56eef5869bae0012b62383694e17007ce8c804c /arch/powerpc/kernel/setup-common.c
parentpowerpc/32: don't do syscall stuff in transfer_to_handler (diff)
downloadwireguard-linux-d1865e71cdc9b75b6a6716a2983eb5d6004cfca9.tar.xz
wireguard-linux-d1865e71cdc9b75b6a6716a2983eb5d6004cfca9.zip
powerpc/32: Don't add dummy frames when calling trace_hardirqs_on/off
No need to add dummy frames when calling trace_hardirqs_on or trace_hardirqs_off. GCC properly handles empty stacks. In addition, powerpc doesn't set CONFIG_FRAME_POINTER, therefore __builtin_return_address(1..) returns NULL at all time. So the dummy frames are definitely unneeded here. In the meantime, avoid reading memory for loading r1 with a value we already know. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions