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)
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>

No differences found