From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: [PATCH][XEN] cleanup (was: Re: [PATCH][TOOLS] xenperf: cleanup) Date: Tue, 15 Jul 2008 16:41:29 +0200 Message-ID: <200807151641.29852.Christoph.Egger@amd.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_ZcLfIinSR4zFeAP" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Keir Fraser List-Id: xen-devel@lists.xenproject.org --Boundary-00=_ZcLfIinSR4zFeAP Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 15 July 2008 16:16:27 Keir Fraser wrote: > On 15/7/08 15:06, "Christoph Egger" wrote: > > For the xen-kernel itself I'm not yet through with these flags. > > Nonetheless, I can send a patch you will like. :) > > I doubt it. :-) > > -- keir Then check this out! :-) Signed-off-by: Christoph Egger Christoph =2D-=20 AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Gesch=E4ftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplement=E4r: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Gesch=E4ftsf=FChrer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy --Boundary-00=_ZcLfIinSR4zFeAP Content-Type: text/x-diff; charset="iso-8859-1"; name="xen_cleanup.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen_cleanup.diff" diff -r 4b882c41c9b9 xen/common/sched_sedf.c --- a/xen/common/sched_sedf.c Tue Jul 15 15:03:58 2008 +0100 +++ b/xen/common/sched_sedf.c Tue Jul 15 16:32:42 2008 +0200 @@ -288,7 +288,7 @@ static inline void list_insert_sort( } #define DOMAIN_COMPARER(name, field, comp1, comp2) \ -int name##_comp(struct list_head* el1, struct list_head* el2) \ +static int name##_comp(struct list_head* el1, struct list_head* el2) \ { \ struct sedf_vcpu_info *d1, *d2; \ d1 = list_entry(el1,struct sedf_vcpu_info, field); \ @@ -1067,7 +1067,7 @@ static inline int should_switch(struct v return 1; } -void sedf_wake(struct vcpu *d) +static void sedf_wake(struct vcpu *d) { s_time_t now = NOW(); struct sedf_vcpu_info* inf = EDOM_INFO(d); diff -r 4b882c41c9b9 xen/common/stop_machine.c --- a/xen/common/stop_machine.c Tue Jul 15 15:03:58 2008 +0100 +++ b/xen/common/stop_machine.c Tue Jul 15 16:32:42 2008 +0200 @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff -r 4b882c41c9b9 xen/common/version.c --- a/xen/common/version.c Tue Jul 15 15:03:58 2008 +0100 +++ b/xen/common/version.c Tue Jul 15 16:32:42 2008 +0200 @@ -1,4 +1,5 @@ #include +#include const char *xen_compile_date(void) { diff -r 4b882c41c9b9 xen/drivers/acpi/reboot.c --- a/xen/drivers/acpi/reboot.c Tue Jul 15 15:03:58 2008 +0100 +++ b/xen/drivers/acpi/reboot.c Tue Jul 15 16:32:42 2008 +0200 @@ -1,5 +1,6 @@ #include #include +#include #include void acpi_reboot(void) diff -r 4b882c41c9b9 xen/drivers/passthrough/amd/iommu_intr.c --- a/xen/drivers/passthrough/amd/iommu_intr.c Tue Jul 15 15:03:58 2008 +0100 +++ b/xen/drivers/passthrough/amd/iommu_intr.c Tue Jul 15 16:32:42 2008 +0200 @@ -25,7 +25,7 @@ DEFINE_SPINLOCK(int_remap_table_lock); DEFINE_SPINLOCK(int_remap_table_lock); void *int_remap_table = NULL; -u8* get_intremap_entry(u8 vector, u8 dm) +static u8* get_intremap_entry(u8 vector, u8 dm) { u8 *table; int offset = 0; --Boundary-00=_ZcLfIinSR4zFeAP Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_ZcLfIinSR4zFeAP--