diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-08-21 16:17:56 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-22 02:08:46 -0400 |
commit | ee7686bc043921a488d9bf89fe93241c5457a74e (patch) | |
tree | 2b4ffa95edec535f7e2c8cad004c9123863b962e /arch/x86/xen/xen-ops.h | |
parent | f8eca41f0afcc7042dc3398c8ba5878c59b1cf1b (diff) |
x86: build fix in "xen spinlock updates and performance measurements"
Ingo Molnar wrote:
> -tip testing found this build failure:
>
> arch/x86/xen/spinlock.c: In function ‘spin_time_start’:
> arch/x86/xen/spinlock.c:60: error: implicit declaration of function ‘xen_clocksource_read’
>
> i've excluded these new commits for now from tip/master - could you
> please send a delta fix against tip/x86/xen?
Make xen_clocksource_read non-static.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/xen/xen-ops.h')
-rw-r--r-- | arch/x86/xen/xen-ops.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/xen/xen-ops.h b/arch/x86/xen/xen-ops.h index 3c70ebc50b1b..1e8bfdaa20d3 100644 --- a/arch/x86/xen/xen-ops.h +++ b/arch/x86/xen/xen-ops.h | |||
@@ -2,6 +2,7 @@ | |||
2 | #define XEN_OPS_H | 2 | #define XEN_OPS_H |
3 | 3 | ||
4 | #include <linux/init.h> | 4 | #include <linux/init.h> |
5 | #include <linux/clocksource.h> | ||
5 | #include <linux/irqreturn.h> | 6 | #include <linux/irqreturn.h> |
6 | #include <xen/xen-ops.h> | 7 | #include <xen/xen-ops.h> |
7 | 8 | ||
@@ -33,6 +34,7 @@ void __init xen_build_dynamic_phys_to_machine(void); | |||
33 | 34 | ||
34 | void xen_init_irq_ops(void); | 35 | void xen_init_irq_ops(void); |
35 | void xen_setup_timer(int cpu); | 36 | void xen_setup_timer(int cpu); |
37 | cycle_t xen_clocksource_read(void); | ||
36 | void xen_setup_cpu_clockevents(void); | 38 | void xen_setup_cpu_clockevents(void); |
37 | unsigned long xen_tsc_khz(void); | 39 | unsigned long xen_tsc_khz(void); |
38 | void __init xen_time_init(void); | 40 | void __init xen_time_init(void); |