diff options
author | 2024-09-25 19:50:22 +0200 | |
---|---|---|
committer | 2024-09-30 19:19:43 +1000 | |
commit | 4b058c9f281f5b100efbf665dd5a1a05e1654d6d (patch) | |
tree | 0c35d64a7fdc73211f3122804e0fecdffc709dd1 /drivers/usb/cdns3/cdns3-debug.h | |
parent | Linux 6.12-rc1 (diff) | |
download | wireguard-linux-4b058c9f281f5b100efbf665dd5a1a05e1654d6d.tar.xz wireguard-linux-4b058c9f281f5b100efbf665dd5a1a05e1654d6d.zip |
powerpc/vdso: allow r30 in vDSO code generation of getrandom
For gettimeofday, -ffixed-r30 was passed to work around a bug in Go
code, where the vDSO trampoline forgot to save and restore this register
across function calls. But Go requires a different trampoline for every
call, and there's no reason that new Go code needs to be broken and add
more bugs. So remove -ffixed-r30 for getrandom.
Fixes: 8072b39c3a75 ("powerpc/vdso: Wire up getrandom() vDSO implementation on VDSO64")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240925175021.1526936-2-Jason@zx2c4.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions