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)
commita57ab96ef9dde231d4d46edba4d5f73720edc16a
tree4c8fdd8a2ca358bc761ac3259973156987612cbe
parent6da6c0db5316275015e8cc2959f12a17584aeb64
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