]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ftrace: Use size macro instead of opencoding
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 9 May 2022 05:36:15 +0000 (07:36 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 22 May 2022 05:57:38 +0000 (15:57 +1000)
commit19cb8613468dd5556aa8eebf1d00fc6a5656a17d
treeb1019be28eddf8d2411c8dba5522038e6da670ca
parent018d33c1b160a9c5e0281e7e410d0da6ec6c5004
powerpc/ftrace: Use size macro instead of opencoding

0x80000000 is SZ_2G. Use it.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
[mpe: Fix comparison against unsigned -SZ_2G]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/bb6626e884acffe87b58736291df57db3deaa9b9.1652074503.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/trace/ftrace.c