]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/mini-os.git/commit
mini-os: move poor rand function to test.c
authorThomas Leonard <talex5@gmail.com>
Fri, 8 Aug 2014 15:47:32 +0000 (16:47 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 8 Sep 2014 11:15:36 +0000 (12:15 +0100)
commite1a1ed2948e8821acc82c2ea54ea38d49186a7a9
treec5cd4ae7cfb0bafbbe9813da1752f332bb05f27e
parentd886a66fffb9f91901895a261beae9dec5cdd8aa
mini-os: move poor rand function to test.c

It's only used by test.c and probably isn't something that should be
exposed for general use (it just calls gettimeofday).

This is also useful for ARM, which doesn't use math.c, where this used
to live.

Signed-off-by: Thomas Leonard <talex5@gmail.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
lib/math.c
test.c