Skip to content
Commit 1ae1b5f0 authored by Russell King's avatar Russell King
Browse files

ARM: smp: avoid incrementing mm_users on CPU startup



We should not be incrementing mm_users when we startup a secondary
CPU - doing so results in mm_users incrementing by one each time we
hotplug a CPU, which will eventually wrap, and will cause problems.

Other architectures such as x86 do not increment mm_users, but only
mm_count, so we follow that pattern.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent c15524a4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment