Follow up to r277449 by fixing the remaining NSEC_TO_TICK macro to have the same
named parameters Reported by: Ben Perrault <ben.perrault@gmail.com>, Willem Jan Withagen <wjw@digiware.nl>
This commit is contained in:
parent
b1d634e627
commit
9f02b3ec86
@ -535,7 +535,7 @@ extern vnode_t *rootdir;
|
||||
extern void delay(clock_t ticks);
|
||||
|
||||
#define SEC_TO_TICK(sec) ((sec) * hz)
|
||||
#define NSEC_TO_TICK(usec) ((usec) / (NANOSEC / hz))
|
||||
#define NSEC_TO_TICK(nsec) ((nsec) / (NANOSEC / hz))
|
||||
|
||||
#define gethrestime_sec() time(NULL)
|
||||
#define gethrestime(t) \
|
||||
|
Loading…
Reference in New Issue
Block a user