]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: mm: remove broken &= operator from pmd_mknotpresent
authorWill Deacon <will.deacon@arm.com>
Wed, 18 Jun 2014 13:06:27 +0000 (14:06 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 18 Jun 2014 15:34:30 +0000 (16:34 +0100)
commitc74019db5e3774091315c35c41fdad2a2c6d91e1
tree052af394a85063c566039f5608aad9d8e125b0d8
parent15af3e805b9f05c4ffe18f11bc2adf70c2c57e8f
arm64: mm: remove broken &= operator from pmd_mknotpresent

This should be a plain old '&' and could easily lead to undefined
behaviour if the target of a pmd_mknotpresent invocation was the same
as the parameter.

Fixes: b67861459bd4 (arm64: mm: Route pmd thp functions through pte equivalents)
Signed-off-by: Will Deacon <will.deacon@arm.com>
Cc: <stable@vger.kernel.org> # v3.15
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/pgtable.h