Re: [PATCH 0 of 4] Xen spinlock updates and performance measurements

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeremy Fitzhardinge
Date: Thursday, August 21, 2008 - 1:17 pm

Ingo Molnar wrote:
Make xen_clocksource_read non-static.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
 arch/x86/xen/time.c    |    4 +---
 arch/x86/xen/xen-ops.h |    2 ++
 2 files changed, 3 insertions(+), 3 deletions(-)

===================================================================
--- a/arch/x86/xen/time.c
+++ b/arch/x86/xen/time.c
@@ -29,8 +29,6 @@
 /* Xen may fire a timer up to this many ns early */
 #define TIMER_SLOP	100000
 #define NS_PER_TICK	(1000000000LL / HZ)
-
-static cycle_t xen_clocksource_read(void);
 
 /* runstate info updated by Xen */
 static DEFINE_PER_CPU(struct vcpu_runstate_info, runstate);
@@ -213,7 +211,7 @@
 	return xen_khz;
 }
 
-static cycle_t xen_clocksource_read(void)
+cycle_t xen_clocksource_read(void)
 {
         struct pvclock_vcpu_time_info *src;
 	cycle_t ret;
===================================================================
--- a/arch/x86/xen/xen-ops.h
+++ b/arch/x86/xen/xen-ops.h
@@ -2,6 +2,7 @@
 #define XEN_OPS_H
 
 #include <linux/init.h>
+#include <linux/clocksource.h>
 #include <linux/irqreturn.h>
 #include <xen/xen-ops.h>
 
@@ -33,6 +34,7 @@
 
 void xen_init_irq_ops(void);
 void xen_setup_timer(int cpu);
+cycle_t xen_clocksource_read(void);
 void xen_setup_cpu_clockevents(void);
 unsigned long xen_tsc_khz(void);
 void __init xen_time_init(void);



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0 of 4] Xen spinlock updates and performance measur ..., Jeremy Fitzhardinge, (Wed Aug 20, 5:02 pm)
[PATCH 1 of 4] xen: save previous spinlock when blocking, Jeremy Fitzhardinge, (Wed Aug 20, 5:02 pm)
[PATCH 2 of 4] xen: add debugfs support, Jeremy Fitzhardinge, (Wed Aug 20, 5:02 pm)
[PATCH 3 of 4] xen: allow interrupts to be enabled while d ..., Jeremy Fitzhardinge, (Wed Aug 20, 5:02 pm)
[PATCH 4 of 4] xen: measure how long spinlocks spend blocking, Jeremy Fitzhardinge, (Wed Aug 20, 5:02 pm)
Re: [PATCH 0 of 4] Xen spinlock updates and performance me ..., Jeremy Fitzhardinge, (Thu Aug 21, 1:17 pm)