aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenpaging
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2011-06-10 10:47:16 +0200
committerOlaf Hering <olaf@aepfle.de>2011-06-10 10:47:16 +0200
commit6e5059e2744b9f37eb020de444af095f4eed4a85 (patch)
treeb326e4f6ccdabd345dde1b8582e3effb5f6aee53 /tools/xenpaging
parentf96de0ce05e8099d6e105a1637a5c467d1f1f958 (diff)
downloadxen-6e5059e2744b9f37eb020de444af095f4eed4a85.tar.gz
xen-6e5059e2744b9f37eb020de444af095f4eed4a85.tar.bz2
xen-6e5059e2744b9f37eb020de444af095f4eed4a85.zip
xenpaging: remove srand call
The policy uses now a linear algorithm instead of a random one. Remove the call to srand(). Signed-off-by: Olaf Hering <olaf@aepfle.de> Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/xenpaging')
-rw-r--r--tools/xenpaging/xenpaging.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/xenpaging/xenpaging.c b/tools/xenpaging/xenpaging.c
index c96424000f..8034c17eb1 100644
--- a/tools/xenpaging/xenpaging.c
+++ b/tools/xenpaging/xenpaging.c
@@ -581,9 +581,6 @@ int main(int argc, char *argv[])
domain_id = atoi(argv[1]);
num_pages = atoi(argv[2]);
- /* Seed random-number generator */
- srand(time(NULL));
-
/* Initialise domain paging */
paging = xenpaging_init(domain_id);
if ( paging == NULL )