diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2007-05-02 13:27:16 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2007-05-02 13:27:16 -0400 |
commit | 441d40dca024deb305a5e3d5003e8cd9d364d10f (patch) | |
tree | e6836e5e325aa717bca9fab4fa188b64a979261a /arch/i386/kernel/vmi.c | |
parent | e0bb8643974397a8d36670e06e6a54bb84f3289f (diff) |
[PATCH] x86: PARAVIRT: Jeremy Fitzhardinge <jeremy@goop.org>
The other symbols used to delineate the alt-instructions sections have the
form __foo/__foo_end. Rename parainstructions to match.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@suse.de>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/i386/kernel/vmi.c')
-rw-r--r-- | arch/i386/kernel/vmi.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/i386/kernel/vmi.c b/arch/i386/kernel/vmi.c index 0fae15dee765..c8726c424b35 100644 --- a/arch/i386/kernel/vmi.c +++ b/arch/i386/kernel/vmi.c | |||
@@ -73,10 +73,6 @@ static struct { | |||
73 | void (*set_lazy_mode)(int mode); | 73 | void (*set_lazy_mode)(int mode); |
74 | } vmi_ops; | 74 | } vmi_ops; |
75 | 75 | ||
76 | /* XXX move this to alternative.h */ | ||
77 | extern struct paravirt_patch __start_parainstructions[], | ||
78 | __stop_parainstructions[]; | ||
79 | |||
80 | /* Cached VMI operations */ | 76 | /* Cached VMI operations */ |
81 | struct vmi_timer_ops vmi_timer_ops; | 77 | struct vmi_timer_ops vmi_timer_ops; |
82 | 78 | ||
@@ -548,9 +544,9 @@ vmi_startup_ipi_hook(int phys_apicid, unsigned long start_eip, | |||
548 | } | 544 | } |
549 | #endif | 545 | #endif |
550 | 546 | ||
551 | static void vmi_set_lazy_mode(int mode) | 547 | static void vmi_set_lazy_mode(enum paravirt_lazy_mode mode) |
552 | { | 548 | { |
553 | static DEFINE_PER_CPU(int, lazy_mode); | 549 | static DEFINE_PER_CPU(enum paravirt_lazy_mode, lazy_mode); |
554 | 550 | ||
555 | if (!vmi_ops.set_lazy_mode) | 551 | if (!vmi_ops.set_lazy_mode) |
556 | return; | 552 | return; |
@@ -912,7 +908,7 @@ static inline int __init activate_vmi(void) | |||
912 | * to do this before IRQs get reenabled. Fortunately, it is | 908 | * to do this before IRQs get reenabled. Fortunately, it is |
913 | * idempotent. | 909 | * idempotent. |
914 | */ | 910 | */ |
915 | apply_paravirt(__start_parainstructions, __stop_parainstructions); | 911 | apply_paravirt(__parainstructions, __parainstructions_end); |
916 | 912 | ||
917 | vmi_bringup(); | 913 | vmi_bringup(); |
918 | 914 | ||