summaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/alternative.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/parisc/kernel/alternative.c')
-rw-r--r--arch/parisc/kernel/alternative.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/alternative.c b/arch/parisc/kernel/alternative.c
index 66f5672c70bd..25c4d6c3375d 100644
--- a/arch/parisc/kernel/alternative.c
+++ b/arch/parisc/kernel/alternative.c
@@ -25,7 +25,7 @@ void __init_or_module apply_alternatives(struct alt_instr *start,
{
struct alt_instr *entry;
int index = 0, applied = 0;
- int num_cpus = num_online_cpus();
+ int num_cpus = num_present_cpus();
u16 cond_check;
cond_check = ALT_COND_ALWAYS |