summaryrefslogtreecommitdiff
path: root/src/include/timer.h
diff options
context:
space:
mode:
authorMartin Roth <martin.roth@se-eng.com>2013-07-09 21:46:01 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-07-11 22:36:19 +0200
commit0cb07e3476d9408d0935253f9f26c0a8ddc28401 (patch)
treeb449dc02d522ad013ab4b18e10e17e7e95fde235 /src/include/timer.h
parentcbe2edefb93ed3ba0a4b08f72a9b208429920675 (diff)
include: Fix spelling
Change-Id: Iadc813bc8208278996b2b1aa20cfb156ec06fac9 Signed-off-by: Martin Roth <martin.roth@se-eng.com> Reviewed-on: http://review.coreboot.org/3755 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/include/timer.h')
-rw-r--r--src/include/timer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/timer.h b/src/include/timer.h
index 40ac367ce8..06128ce6c3 100644
--- a/src/include/timer.h
+++ b/src/include/timer.h
@@ -67,13 +67,13 @@ int timers_run(void);
* 0 returned on success, < 0 on error. */
int timer_sched_callback(struct timeout_callback *tocb, unsigned long us);
-/* Add microseconds to an absoute time. */
+/* Add microseconds to an absolute time. */
static inline void mono_time_add_usecs(struct mono_time *mt, long us)
{
mt->microseconds += us;
}
-/* Add milliseconds to an absoute time. */
+/* Add milliseconds to an absolute time. */
static inline void mono_time_add_msecs(struct mono_time *mt, long ms)
{
mono_time_add_usecs(mt, ms * USECS_PER_MSEC);
@@ -85,7 +85,7 @@ static inline void mono_time_add_rela_time(struct mono_time *mt,
mono_time_add_usecs(mt, t->microseconds);
}
-/* Compare two absoluted times: Return -1, 0, or 1 if t1 is <, =, or > t2,
+/* Compare two absolute times: Return -1, 0, or 1 if t1 is <, =, or > t2,
* respectively. */
static inline int mono_time_cmp(const struct mono_time *t1,
const struct mono_time *t2)