diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-04-06 12:22:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-07 01:32:17 +0200 |
commit | a460513ed4b6994bfeb7bd86f72853140bc1ac12 (patch) | |
tree | c85178cb51f968494e0e5e182dc31cfc29c6c657 /include/vdso | |
parent | stmmac: intel: Drop duplicate ID in the list of PCI device IDs (diff) | |
download | linux-a460513ed4b6994bfeb7bd86f72853140bc1ac12.tar.xz linux-a460513ed4b6994bfeb7bd86f72853140bc1ac12.zip |
time64.h: Consolidated PSEC_PER_SEC definition
We have currently three users of the PSEC_PER_SEC each of them defining it
individually. Instead, move it to time64.h to be available for everyone.
There is a new user coming with the same constant in use. It will also
make its life easier.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/vdso')
-rw-r--r-- | include/vdso/time64.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vdso/time64.h b/include/vdso/time64.h index 9d43c3f5e89d..b40cfa2aa33c 100644 --- a/include/vdso/time64.h +++ b/include/vdso/time64.h @@ -9,6 +9,7 @@ #define NSEC_PER_MSEC 1000000L #define USEC_PER_SEC 1000000L #define NSEC_PER_SEC 1000000000L +#define PSEC_PER_SEC 1000000000000LL #define FSEC_PER_SEC 1000000000000000LL #endif /* __VDSO_TIME64_H */ |