android_kernel_xiaomi_sm8450/arch/sh/kernel/cpu
John Paul Adrian Glaubitz ed68e8e22e sh: j2: Use ioremap() to translate device tree address into kernel memory
[ Upstream commit bc9d1f0cecd2407cfb2364a7d4be2f52d1d46a9d ]

Addresses the following warning when building j2_defconfig:

arch/sh/kernel/cpu/sh2/probe.c: In function 'scan_cache':
arch/sh/kernel/cpu/sh2/probe.c:24:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   24 |  j2_ccr_base = (u32 __iomem *)of_flat_dt_translate_address(node);
      |

Fixes: 5a846abad0 ("sh: add support for J-Core J2 processor")
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Rob Landley <rob@landley.net>
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/20230503125746.331835-1-glaubitz@physik.fu-berlin.de
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-27 08:44:02 +02:00
..
irq sh: remove sh5 support 2020-06-01 14:48:52 -04:00
sh2 sh: j2: Use ioremap() to translate device tree address into kernel memory 2023-07-27 08:44:02 +02:00
sh2a sh: add the sh_ prefix to early platform symbols 2019-10-07 13:50:48 +02:00
sh3 sh: add the sh_ prefix to early platform symbols 2019-10-07 13:50:48 +02:00
sh4 sh: sq: Fix incorrect element size for allocating bitmap buffer 2023-05-17 11:47:58 +02:00
sh4a sh: check return code of request_irq 2021-11-26 10:39:11 +01:00
shmobile cpuidle: Drop disabled field from struct cpuidle_state 2019-11-29 11:48:39 +01:00
adc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock-cpg.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock.c sh: cpu: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
fpu.c signal/sh: Use force_sig(SIGKILL) instead of do_group_exit(SIGKILL) 2021-11-18 14:04:24 +01:00
init.c sh: remove sh5 support 2020-06-01 14:48:52 -04:00
Makefile sh: remove sh5 support 2020-06-01 14:48:52 -04:00
pfc.c sh: cpu: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
proc.c sh: remove sh5 support 2020-06-01 14:48:52 -04:00