diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-06 17:59:47 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-06 17:59:47 +1100 |
commit | 3424e82515bf0781df6fe6e621ce4bdfa4bf4a16 (patch) | |
tree | 1da0c5f1055d557d12b0d766db70bbe83fa200b1 /arch/mn10300/kernel/smp.c | |
parent | 71942a3b7471b768b07095731928558fd18a831d (diff) | |
parent | 46c3b4fb248255cf78eb4680802b1ce411bcd87d (diff) |
Merge branch 'akpm/master'
Diffstat (limited to 'arch/mn10300/kernel/smp.c')
-rw-r--r-- | arch/mn10300/kernel/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mn10300/kernel/smp.c b/arch/mn10300/kernel/smp.c index 426173c4b0b9..e65b5cc2fa67 100644 --- a/arch/mn10300/kernel/smp.c +++ b/arch/mn10300/kernel/smp.c @@ -589,7 +589,7 @@ static void __init smp_cpu_init(void) } printk(KERN_INFO "Initializing CPU#%d\n", cpu_id); - atomic_inc(&init_mm.mm_count); + mmgrab(&init_mm); current->active_mm = &init_mm; BUG_ON(current->mm); |