WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Error while compiling with new RR scheduler

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Error while compiling with new RR scheduler
From: Ananth <cbananth@xxxxxxxxx>
Date: Fri, 24 Apr 2009 19:25:57 +0530
Delivery-date: Fri, 24 Apr 2009 06:56:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=f7pZG2vOMn1GiDq0wV7VcwqyvvLAoGaj6U26syr5lr4=; b=GpE1dJclIh5K0cI6LzQgAr8Dly8g/OljsqxYWajNj6JkEYJTQK7hz1S11uuaE72K2j /dRfczinDwLltEJzR+ne8nrHsa5ZaQm+cTpERF6Nx3QLs+eWX/+Mt30NFXI+O+k6W6Ul PgH+r5c/LctaW9CtmWjvxpXUh5F5viRbqxXnc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=A5JJvgMkPglBzSJu1CwVGFz9U9UeFKQsVj/GxYRAqxPseI+TlYuaMUwmt9T9XoP2iF ba9p/DbVZ5jo2AwwlfqJtQh4y2nb/VBUhY9sb/qDqqfCtm0Jlv/h4Ti5Gy0Px35ZQisP S/3v9CHP87FPKCAjUMisaWbh10u09F2i5LfzQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
Please find attached the source code of Round Robin scheduler which I am trying to add to Xen 3.3.1.
I am facing the following error messages while compiling the same.

sched_rrobin.c:31: error: two or more data types in declaration specifiers

sched_rrobin.c: In function ‘rrobin_vcpu_init’:

sched_rrobin.c:34: error: incompatible types in return

sched_rrobin.c:51: error: incompatible types in return

sched_rrobin.c:94: error: initialization from incompatible pointer type

I believe the error in line 94 is causing the rest of the error messages. I have checked with the structure definition in sched-if.h as well as the implementation of the same in other schedulers such as SEDF and Credit.

Request you to kindly provide your feedback regarding the same.

Thanks & Regards
Ananth

Attachment: sched_rrobin.c
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>