diff options
author | 2024-08-27 17:14:18 +0200 | |
---|---|---|
committer | 2024-09-13 17:28:35 +0200 | |
commit | 6fd13b282f62bd840f2410692deaa23a42fd91fa (patch) | |
tree | 14674818fd45938409c5b6f95158f0b8c2415abd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | selftests: vDSO: ensure vgetrandom works in a time namespace (diff) | |
download | wireguard-linux-6fd13b282f62bd840f2410692deaa23a42fd91fa.tar.xz wireguard-linux-6fd13b282f62bd840f2410692deaa23a42fd91fa.zip |
random: vDSO: move prototype of arch chacha function to vdso/getrandom.h
Having the prototype for __arch_chacha20_blocks_nostack in
arch/x86/include/asm/vdso/getrandom.h meant that the prototype and large
doc comment were cloned by every architecture, which has been causing
unnecessary churn. Instead move it into include/vdso/getrandom.h, where
it can be shared by all archs implementing it.
As a side bonus, this then lets us use that prototype in the
vdso_test_chacha self test, to ensure that it matches the source, and
indeed doing so turned up some inconsistencies, which are rectified
here.
Suggested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions