All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Egger <Christoph.Egger@amd.com>
To: xen-devel@lists.xensource.com
Cc: Keir Fraser <keir.fraser@eu.citrix.com>
Subject: [PATCH][XEN] cleanup (was: Re: [PATCH][TOOLS] xenperf: cleanup)
Date: Tue, 15 Jul 2008 16:41:29 +0200	[thread overview]
Message-ID: <200807151641.29852.Christoph.Egger@amd.com> (raw)
In-Reply-To: <C4A26FCB.24010%keir.fraser@eu.citrix.com>

[-- Attachment #1: Type: text/plain, Size: 814 bytes --]

On Tuesday 15 July 2008 16:16:27 Keir Fraser wrote:
> On 15/7/08 15:06, "Christoph Egger" <Christoph.Egger@amd.com> 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.Egger@amd.com>

Christoph


-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy

[-- Attachment #2: xen_cleanup.diff --]
[-- Type: text/x-diff, Size: 2281 bytes --]

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 <xen/sched.h>
 #include <xen/spinlock.h>
 #include <xen/softirq.h>
+#include <xen/stop_machine.h>
 #include <xen/errno.h>
 #include <xen/smp.h>
 #include <asm/current.h>
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 <xen/compile.h>
+#include <xen/version.h>
 
 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 <xen/config.h>
 #include <xen/pci.h>
+#include <xen/acpi.h>
 #include <acpi/acpi.h>
 
 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;

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

  reply	other threads:[~2008-07-15 14:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-15 13:36 [PATCH][TOOLS] xenperf: cleanup Christoph Egger
2008-07-15 13:39 ` Keir Fraser
2008-07-15 13:45   ` Christoph Egger
2008-07-15 13:52     ` Keir Fraser
2008-07-15 14:06       ` Christoph Egger
2008-07-15 14:16         ` Keir Fraser
2008-07-15 14:41           ` Christoph Egger [this message]
2008-07-15 14:44             ` [PATCH][XEN] cleanup (was: Re: [PATCH][TOOLS] xenperf: cleanup) Keir Fraser
2008-07-15 15:05               ` Christoph Egger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200807151641.29852.Christoph.Egger@amd.com \
    --to=christoph.egger@amd.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.