]> git.ipfire.org Git - thirdparty/linux.git/commit
riscv: time: Add missing __iomem in get_cycles() and get_cycles_hi()
authorNam Cao <namcao@linutronix.de>
Wed, 29 Jul 2026 17:43:28 +0000 (11:43 -0600)
committerPaul Walmsley <pjw@kernel.org>
Wed, 29 Jul 2026 17:43:28 +0000 (11:43 -0600)
commit779e0eb18c774b81a462a6ee89cfbc9eb2d3cee5
tree47b9db3dbd032b5de894a9d52e2bc5999426905a
parentf5098b6bae761e346ebcd9da7f95622c04733cff
riscv: time: Add missing __iomem in get_cycles() and get_cycles_hi()

__iomem is missing while calling readl_relaxed() in get_cycles() and
get_cycles_hi() and sparse complains.

Add __iomem to silence the sparse warnings.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202607160619.14G8GHp5-lkp@intel.com/
Signed-off-by: Nam Cao <namcao@linutronix.de>
Link: https://patch.msgid.link/20260716053319.2178937-1-namcao@linutronix.de
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/include/asm/timex.h