linux/arch/hexagon/lib
Arnd Bergmann a8cb1e92d2
hexagon: simplify asm/io.h for !HAS_IOPORT
Hexagon fails to build after the final patch that makes CONFIG_HAS_IOPORT
optional:

In file included from arch/hexagon/include/asm/io.h:328:
include/asm-generic/io.h:854:18: error: static declaration of 'ioread8' follows non-static declaration
  854 | static inline u8 ioread8(const volatile void __iomem *addr)
      |                  ^
include/asm-generic/io.h:853:17: note: expanded from macro 'ioread8'
  853 | #define ioread8 ioread8
      |                 ^
include/asm-generic/iomap.h:29:21: note: previous declaration is here
   29 | extern unsigned int ioread8(const void __iomem *);
      |                     ^

As it turns out, most of its asm/io.h and lib/io.c files is redundant now,
and just removing all that makes it build again.

As with the other architectures, defining the __raw_readl()/__raw_writel()
type functions instead of the non-__raw ones is better here for consistency.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-10-28 21:44:29 +00:00
..
checksum.c unify generic instances of csum_partial_copy_nocheck() 2020-08-20 15:45:14 -04:00
divsi3.S Hexagon: add target builtins to kernel 2021-05-03 11:04:22 -05:00
Makefile hexagon: simplify asm/io.h for !HAS_IOPORT 2024-10-28 21:44:29 +00:00
memcpy_likely_aligned.S Hexagon: add target builtins to kernel 2021-05-03 11:04:22 -05:00
memcpy.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 267 2019-06-05 17:30:29 +02:00
memset.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 267 2019-06-05 17:30:29 +02:00
modsi3.S Hexagon: add target builtins to kernel 2021-05-03 11:04:22 -05:00
udivsi3.S Hexagon: add target builtins to kernel 2021-05-03 11:04:22 -05:00
umodsi3.S Hexagon: add target builtins to kernel 2021-05-03 11:04:22 -05:00