diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/alternative.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/i386/kernel/alternative.c b/arch/i386/kernel/alternative.c index 915b6c4d9baf..dae3ded9041c 100644 --- a/arch/i386/kernel/alternative.c +++ b/arch/i386/kernel/alternative.c | |||
@@ -325,9 +325,10 @@ void alternatives_smp_switch(int smp) | |||
325 | #endif | 325 | #endif |
326 | 326 | ||
327 | #ifdef CONFIG_PARAVIRT | 327 | #ifdef CONFIG_PARAVIRT |
328 | void apply_paravirt(struct paravirt_patch *start, struct paravirt_patch *end) | 328 | void apply_paravirt(struct paravirt_patch_site *start, |
329 | struct paravirt_patch_site *end) | ||
329 | { | 330 | { |
330 | struct paravirt_patch *p; | 331 | struct paravirt_patch_site *p; |
331 | 332 | ||
332 | for (p = start; p < end; p++) { | 333 | for (p = start; p < end; p++) { |
333 | unsigned int used; | 334 | unsigned int used; |
@@ -342,7 +343,7 @@ void apply_paravirt(struct paravirt_patch *start, struct paravirt_patch *end) | |||
342 | /* Sync to be conservative, in case we patched following instructions */ | 343 | /* Sync to be conservative, in case we patched following instructions */ |
343 | sync_core(); | 344 | sync_core(); |
344 | } | 345 | } |
345 | extern struct paravirt_patch __start_parainstructions[], | 346 | extern struct paravirt_patch_site __start_parainstructions[], |
346 | __stop_parainstructions[]; | 347 | __stop_parainstructions[]; |
347 | #endif /* CONFIG_PARAVIRT */ | 348 | #endif /* CONFIG_PARAVIRT */ |
348 | 349 | ||