ARM: 8544/1: set_memory_xx fixes
authorMika Penttilä <mika.penttila@nextfour.com>
Mon, 22 Feb 2016 16:56:52 +0000 (17:56 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 4 Mar 2016 23:32:45 +0000 (23:32 +0000)
commitf474c8c857d996f34c39f66bbed23faaa739fad6
tree0a0ae7bb3a9a7c405d6bba7cca7b75dabe5ea1fc
parentc7edd7f99cdaec65e9303b4c9edc19bb595564ed
ARM: 8544/1: set_memory_xx fixes

Allow zero size updates. This makes set_memory_xx() consistent with x86, s390 and arm64 and makes apply_to_page_range() not to BUG() when loading modules.

Signed-off-by: Mika Penttilä mika.penttila@nextfour.com
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/pageattr.c