linux/arch/powerpc/sysdev/xics
Rob Herring 037c47a436 powerpc/xics: Use of_address_count()
icp_native_init_one_node() only needs the number of entries in "reg".
Replace the open coded "reg" parsing with of_address_count() to get the
number of "reg" entries.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230327223056.820086-1-robh@kernel.org
2023-04-04 22:11:03 +10:00
..
icp-hv.c powerpc/sysdev: Add __init attribute to eligible functions 2021-12-23 22:33:12 +11:00
icp-native.c powerpc/xics: Use of_address_count() 2023-04-04 22:11:03 +10:00
icp-opal.c powerpc/xics: fix refcount leak in icp_opal_init() 2022-05-22 15:58:30 +10:00
ics-native.c powerpc/xics: Include missing header 2022-05-24 20:44:30 +10:00
ics-opal.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
ics-rtas.c powerpc/rtas: arch-wide function token lookup conversions 2023-02-13 22:35:03 +11:00
Kconfig powerpc/xics: Add a native ICS backend for microwatt 2021-06-21 21:15:58 +10:00
Makefile powerpc/xics: Add a native ICS backend for microwatt 2021-06-21 21:15:58 +10:00
xics-common.c powerpc/kasan: Disable address sanitization in kexec paths 2022-05-22 15:58:29 +10:00