diff options
author | Borislav Petkov (AMD) <[email protected]> | 2022-12-18 13:04:05 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-12-19 09:27:10 +0000 |
commit | aba5b397cad7d398b385aaf5029f99f41b690466 (patch) | |
tree | f5bd04de5e89086fb6e0eb12cb1a88efdf67bd1e /lib/netdev-notifier-error-inject.c | |
parent | 1d330d4fa8ba5833ff1d9be6e96b72ebc1fa236f (diff) |
hamradio: baycom_epp: Do not use x86-specific rdtsc()
Use get_cycles() which is provided by pretty much every arch.
The UML build works too because get_cycles() is a simple "return 0;"
because the rdtsc() is optimized away there.
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions