diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-09 17:03:46 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-09 17:03:46 +1100 |
commit | 4824579dcd8be7c8580237785ce6f7b31db054ea (patch) | |
tree | 174a084a5068489ab7030227c231fe6f7d0e3124 /arch/hexagon/kernel/smp.c | |
parent | a9be5a59553a6b5d424d8ed37f058edfcc09a7d9 (diff) | |
parent | 1842d91b7b4c6be23064b6601127293173aa750c (diff) |
Merge branch 'akpm/master'
Diffstat (limited to 'arch/hexagon/kernel/smp.c')
-rw-r--r-- | arch/hexagon/kernel/smp.c | 2 |
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(); |