Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 340e01248478ba8b78a6d4d1809b1eff > files > 772

kvm-83-270.el5_11.src.rpm

From 3a4f1d57187a2428c61407dbdc89dcda9b86ab9d Mon Sep 17 00:00:00 2001
From: Eduardo Habkost <ehabkost@redhat.com>
Date: Mon, 5 Oct 2009 14:32:42 -0300
Subject: [PATCH 1/4] test/access: remove warning

RH-Author: Juan Quintela <quintela@redhat.com>
Message-id: <78d7e3d93d6c4e96e8b50aa8562133f5dc395c98.1253624292.git.quintela@redhat.com>
Patchwork-id: 3501
O-Subject: [PATCH 1/4] test/access: remove warning
Bugzilla: 515749
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
RH-Acked-by: Kevin Wolf <kwolf@redhat.com>
RH-Acked-by: Luiz Capitulino <lcapitulino@redhat.com>

commit c41fdec7c539ff6a977d39265d44a06661b97735
Author: Avi Kivity <avi@redhat.com>
Date:   Wed Sep 16 12:25:43 2009 +0300

    test: Remove smp support from access.c

    Doesn't do anthing anyway.

    Signed-off-by: Avi Kivity <avi@redhat.com>
    Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 user/test/x86/access.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 user/test/x86/access.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/user/test/x86/access.c b/user/test/x86/access.c
index 0e61597..e616af9 100644
--- a/user/test/x86/access.c
+++ b/user/test/x86/access.c
@@ -1,6 +1,7 @@
 
 #include "libcflat.h"
-#include "smp.h"
+
+#define smp_id() 0
 
 #define true 1
 #define false 0
@@ -574,7 +575,6 @@ int main()
     int r;
 
     printf("starting test\n\n");
-    smp_init(ac_test_run);
     r = ac_test_run();
     return r ? 0 : 1;
 }
-- 
1.6.3.rc4.29.g8146