Skip to content
Snippets Groups Projects
Commit 0b462341 authored by Nadav Har'El's avatar Nadav Har'El Committed by Pekka Enberg
Browse files

clock: temporary alias osv::clock::get() for clock::get()


Unfortunately, sched.cc uses "using namespace osv" causing a big mixup
between ::clock (from <drivers/clock.hh>) and osv::clock (from
<osv/clock.hh>). In the next patch, we want to start using <osv/clock.hh>
in sched.cc, so we need to first clear this mixup by temporarily adding
an alias osv::clock::get(), to resolve the clock::get() used throughout
sched.cc.

In later patches in this series, we'll remove all the calls to clock::get(),
from sched.cc, so at the end of the series we revert this patch.

Reviewed-by: default avatarGlauber Costa <glommer@cloudius-systems.com>
Signed-off-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent 3cc0e96f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment