From: Paul Semel <phen...@amazon.de> Signed-off-by: Paul Semel <phen...@amazon.de> --- common/time.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/common/time.c b/common/time.c index 1d7fef5..67fe049 100644 --- a/common/time.c +++ b/common/time.c @@ -119,6 +119,12 @@ static inline void nspin_sleep(uint64_t t) curr = since_boot_time(); } +static inline void spin_sleep(uint64_t t) +{ + uint64_t nsec = t * 1000000000ul; + nspin_sleep(nsec); +} + /* * Local variables: * mode: C -- 2.16.1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel