]> git.baikalelectronics.ru Git - kernel.git/commit
arm: fixmap: implement __set_fixmap()
authorKees Cook <keescook@chromium.org>
Fri, 4 Apr 2014 21:27:49 +0000 (23:27 +0200)
committerKees Cook <keescook@chromium.org>
Thu, 16 Oct 2014 21:38:52 +0000 (14:38 -0700)
commit737c2ec6ad95a00f52fcce8bd08a9d8c5454e9b1
treee3e5a3a562883eac4999f72e940fa5261c518b46
parent6416862f4cbb64c5bc04a9d6b12c7aefa4d6e1e1
arm: fixmap: implement __set_fixmap()

This is used from set_fixmap() and clear_fixmap() via asm-generic/fixmap.h.
Also makes sure that the fixmap allocation fits into the expected range.

Based on patch by Rabin Vincent.

Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Rabin Vincent <rabin@rab.in>
Acked-by: Nicolas Pitre <nico@linaro.org>
arch/arm/include/asm/fixmap.h
arch/arm/mm/mmu.c