]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
hexagon: add memset_io() helper
authorArnd Bergmann <arnd@arndb.de>
Fri, 6 Apr 2018 14:28:22 +0000 (16:28 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 1 Oct 2018 12:56:12 +0000 (14:56 +0200)
commit77c631181d77e8599540bd5a124cce9da6785dc7
tree1b783dba875f31160f2e8b3b52e77e07cdf2358f
parenta1220e6b4c58963e0e9af6130e6458497be83c87
hexagon: add memset_io() helper

BugLink: http://bugs.launchpad.net/bugs/1794889
[ Upstream commit a57ab96ef9dde231d4d46edba4d5f73720edc16a ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/hexagon/include/asm/io.h