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 e5cec6685cc5..d8cda14fff8b 100644 --- a/arch/i386/kernel/alternative.c +++ b/arch/i386/kernel/alternative.c | |||
@@ -390,8 +390,8 @@ void __init alternative_instructions(void) | |||
390 | _text, _etext); | 390 | _text, _etext); |
391 | } | 391 | } |
392 | free_init_pages("SMP alternatives", | 392 | free_init_pages("SMP alternatives", |
393 | __pa_symbol(&__smp_locks), | 393 | (unsigned long)__smp_locks, |
394 | __pa_symbol(&__smp_locks_end)); | 394 | (unsigned long)__smp_locks_end); |
395 | } else { | 395 | } else { |
396 | alternatives_smp_module_add(NULL, "core kernel", | 396 | alternatives_smp_module_add(NULL, "core kernel", |
397 | __smp_locks, __smp_locks_end, | 397 | __smp_locks, __smp_locks_end, |