linux-stable/arch/powerpc/platforms/52xx
Wang Qing f44cf716e4 powerpc/5xx: Drop unnecessary cast
do_div() does a 64-by-32 division, the 2nd parameter is a u32.

gbp->ipb_freq is already a u32, there's no need to transform it to u64
before passing it to do_div().

Signed-off-by: Wang Qing <wangqing@vivo.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
[mpe: Add some detail to change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1644395696-3545-1-git-send-email-wangqing@vivo.com
2022-05-04 19:37:46 +10:00
..
efika.c powerpc/52xx/efika: Move PHB discovery 2021-02-09 00:02:05 +11:00
Kconfig powerpc: Rename PPC_NATIVE to PPC_HASH_MMU_NATIVE 2021-12-02 22:57:22 +11:00
lite5200.c powerpc/52xx/lite5200: Move PHB discovery 2021-02-09 00:02:05 +11:00
lite5200_pm.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
lite5200_sleep.S powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add') 2021-04-23 01:38:03 +10:00
Makefile powerpc/Makefiles: Convert ifeq to ifdef where possible 2018-08-08 00:32:36 +10:00
media5200.c powerpc: Bulk conversion to generic_handle_domain_irq() 2021-08-12 11:39:41 +01:00
mpc52xx_common.c powerpc: Make ppc_md.{halt, restart} __noreturn 2016-07-14 21:12:06 +10:00
mpc52xx_gpt.c powerpc/5xx: Drop unnecessary cast 2022-05-04 19:37:46 +10:00
mpc52xx_lpbfifo.c powerpc/time: Avoid using get_tbl() 2021-02-11 23:35:13 +11:00
mpc52xx_pci.c powerpc/mpc52xx: Fix some pr_debug() issues 2022-05-04 19:37:43 +10:00
mpc52xx_pic.c treewide: Remove uninitialized_var() usage 2020-07-16 12:35:15 -07:00
mpc52xx_pm.c powerpc/mpc5200: Remove VLA usage 2018-07-03 12:00:54 +10:00
mpc52xx_sleep.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mpc5200_simple.c powerpc/52xx/mpc5200_simple: Move PHB discovery 2021-02-09 00:02:06 +11:00