diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2022-09-04 01:02:34 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-09-10 09:56:42 +0200 |
commit | 437b6b35362b206fdf881fe6dea76720eedb6d25 (patch) | |
tree | 8f842a80ce6e2e70042cd215fa2e9310029573b4 /include/asm-generic/signal.h | |
parent | 77bfc8bdb5a1cdbcea21daccdf1686e1bfea3db6 (diff) | |
download | linux-437b6b35362b206fdf881fe6dea76720eedb6d25.tar.gz linux-437b6b35362b206fdf881fe6dea76720eedb6d25.tar.bz2 linux-437b6b35362b206fdf881fe6dea76720eedb6d25.zip |
parisc: Use the generic IO helpers
This enables the parisc to use <asm-generic/io.h> to fill in the
missing (undefined) [read|write]sq I/O accessor functions.
This is needed if parisc[64] ever wants to uses CONFIG_REGMAP_MMIO
which has been patches to use accelerated _noinc accessors
such as readsq/writesq that parisc64, while being a 64bit platform,
as of now not yet provide.
This comes with the requirement that everything the architecture
already provides needs to be defined, rather than just being,
say, static inline functions.
Bite the bullet and just provide the definitions and make it work.
Compile-tested on parisc32 and parisc64. Drop some of the __raw
functions that now get implemented in <asm-generic/io.h>.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Cc: James E.J. Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Helge Deller <deller@gmx.de>
Cc: linux-parisc@vger.kernel.org
Cc: linux-arch@vger.kernel.org
Cc: Mark Brown <broonie@kernel.org>
Cc: John David Anglin <dave.anglin@bell.net>
Link: https://lore.kernel.org/linux-arm-kernel/62fcc351.hAyADB%2FY8JTxz+kh%25lkp@intel.com/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/asm-generic/signal.h')
0 files changed, 0 insertions, 0 deletions