summaryrefslogtreecommitdiff
path: root/arch/hexagon/kernel/smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/hexagon/kernel/smp.c')
-rw-r--r--arch/hexagon/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/hexagon/kernel/smp.c b/arch/hexagon/kernel/smp.c
index 983bae7d2665..c02a6455839e 100644
--- a/arch/hexagon/kernel/smp.c
+++ b/arch/hexagon/kernel/smp.c
@@ -162,7 +162,7 @@ void start_secondary(void)
);
/* Set the memory struct */
- atomic_inc(&init_mm.mm_count);
+ mmgrab(&init_mm);
current->active_mm = &init_mm;
cpu = smp_processor_id();