aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/time.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-08-02 11:02:38 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-08-10 15:32:20 +1000
commit5cccf7a5215d12027e55e247907817631b413c28 (patch)
treedcc7c89e5212236b204a825133efe090b657b834 /arch/powerpc/kernel/time.c
parentpowerpc: Don't hide eh field of lwarx behind a macro (diff)
downloadlinux-dev-5cccf7a5215d12027e55e247907817631b413c28.tar.xz
linux-dev-5cccf7a5215d12027e55e247907817631b413c28.zip
powerpc: Make eh value more explicit when using lwarx
Just like the first patch of this series, define a local 'eh' in order to make the code clearer. And IS_ENABLED() returns either 1 or 0 so no need to do IS_ENABLED(CONFIG_PPC64) ? 1 : 0. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> [mpe: Use symbolic names, use 'n' constraint per Segher] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/629befaa2d05e2922346e58a383886510d6af55a.1659430931.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/kernel/time.c')
0 files changed, 0 insertions, 0 deletions