diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-09-08 09:41:12 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-09-09 06:57:10 +0200 |
commit | 270200e972e6c2a5733a12ee70fcc3b7e2940c6c (patch) | |
tree | 284b6a902cc2165c94b6bb78e45f7760d1ed712c /cpukit/score/cpu/x86_64/include/rtems/score/cpu.h | |
parent | libcrypt: There is no need to clear message digest (diff) | |
download | rtems-270200e972e6c2a5733a12ee70fcc3b7e2940c6c.tar.bz2 |
score: Remove _CPU_Counter_difference()
All CPU ports used the same _CPU_Counter_difference() implementation. Remove
this CPU port interface and mandate a monotonically increasing CPU counter.
Close #3456.
Diffstat (limited to 'cpukit/score/cpu/x86_64/include/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/x86_64/include/rtems/score/cpu.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h b/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h index bea8e05e39..23891acff3 100644 --- a/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h @@ -304,15 +304,6 @@ uint32_t _CPU_Counter_frequency( void ); CPU_Counter_ticks _CPU_Counter_read( void ); - -static inline CPU_Counter_ticks _CPU_Counter_difference( - CPU_Counter_ticks second, - CPU_Counter_ticks first -) -{ - return second - first; -} - #ifdef RTEMS_SMP * uint32_t _CPU_SMP_Initialize( void ); |