]> git.baikalelectronics.ru Git - kernel.git/commit
hexagon: add memset_io() helper
authorArnd Bergmann <arnd@arndb.de>
Fri, 6 Apr 2018 14:28:22 +0000 (16:28 +0200)
committerRichard Kuo <rkuo@codeaurora.org>
Tue, 1 May 2018 20:49:46 +0000 (15:49 -0500)
commit82288973c12110f4d86f3f5cf5dcc0001066bc11
tree4c8fdd8a2ca358bc761ac3259973156987612cbe
parent8fdf222feba61c86a5a1d628a7df50de1e510fc4
hexagon: add memset_io() helper

We already have memcpy_toio(), but not memset_io(), so let's
add the obvious version to allow building an allmodconfig kernel
without errors like

drivers/gpu/drm/ttm/ttm_bo_util.c: In function 'ttm_bo_move_memcpy':
drivers/gpu/drm/ttm/ttm_bo_util.c:390:3: error: implicit declaration of function 'memset_io' [-Werror=implicit-function-declaration]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/include/asm/io.h