diff options
Diffstat (limited to 'arch/i386/kernel/alternative.c')
-rw-r--r-- | arch/i386/kernel/alternative.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/alternative.c b/arch/i386/kernel/alternative.c index 426f59b0106b..a27c8d347364 100644 --- a/arch/i386/kernel/alternative.c +++ b/arch/i386/kernel/alternative.c | |||
@@ -402,8 +402,8 @@ void __init alternative_instructions(void) | |||
402 | _text, _etext); | 402 | _text, _etext); |
403 | } | 403 | } |
404 | free_init_pages("SMP alternatives", | 404 | free_init_pages("SMP alternatives", |
405 | (unsigned long)__smp_alt_begin, | 405 | __pa_symbol(&__smp_alt_begin), |
406 | (unsigned long)__smp_alt_end); | 406 | __pa_symbol(&__smp_alt_end)); |
407 | } else { | 407 | } else { |
408 | alternatives_smp_save(__smp_alt_instructions, | 408 | alternatives_smp_save(__smp_alt_instructions, |
409 | __smp_alt_instructions_end); | 409 | __smp_alt_instructions_end); |