diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | 2016-01-15 10:41:09 +0200 |
---|---|---|
committer | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | 2016-01-15 14:07:11 +0200 |
commit | 3208b66cfeb195d184ab9756d2ca5bb1fb58f76d (patch) | |
tree | 61ab87292ccb267e00c69651d70210ac45cf07ad /platform | |
parent | 5b8b37d1da191f0263496a610f90c1765a7b37b4 (diff) |
linux-ks2: cpu_cycles: fix argument order in diff
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Diffstat (limited to 'platform')
-rw-r--r-- | platform/linux-keystone2/odp_cpu_cycles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux-keystone2/odp_cpu_cycles.c b/platform/linux-keystone2/odp_cpu_cycles.c index cd875b46..e86a3387 100644 --- a/platform/linux-keystone2/odp_cpu_cycles.c +++ b/platform/linux-keystone2/odp_cpu_cycles.c @@ -20,7 +20,7 @@ uint64_t odp_cpu_cycles_max(void) return UINT32_MAX; } -uint64_t odp_cpu_cycles_diff(uint64_t c1, uint64_t c2) +uint64_t odp_cpu_cycles_diff(uint64_t c2, uint64_t c1) { if (odp_likely(c2 >= c1)) return c2 - c1; |