time(3): Fix spelling.
Noted by: Gary Jennejohn <garyj@gmx.de> MFC after: 1 week Sponsored by: NVIDIA Networking
This commit is contained in:
parent
eb805f4e0f
commit
fdd9548333
@ -556,7 +556,7 @@ hardclock_sync(int cpu)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Regular integer scaling formula without loosing precision:
|
* Regular integer scaling formula without losing precision:
|
||||||
*/
|
*/
|
||||||
#define TIME_INT_SCALE(value, mul, div) \
|
#define TIME_INT_SCALE(value, mul, div) \
|
||||||
(((value) / (div)) * (mul) + (((value) % (div)) * (mul)) / (div))
|
(((value) / (div)) * (mul) + (((value) % (div)) * (mul)) / (div))
|
||||||
@ -581,7 +581,7 @@ TIME_ASSERT_VALID_HZ(HZ_MAXIMUM);
|
|||||||
TIME_ASSERT_VALID_HZ(HZ_MINIMUM);
|
TIME_ASSERT_VALID_HZ(HZ_MINIMUM);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The forumla is mostly linear, but test some more common values just
|
* The formula is mostly linear, but test some more common values just
|
||||||
* in case:
|
* in case:
|
||||||
*/
|
*/
|
||||||
TIME_ASSERT_VALID_HZ(1024);
|
TIME_ASSERT_VALID_HZ(1024);
|
||||||
|
Loading…
Reference in New Issue
Block a user