]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: Fix misleading SPR and timebase information
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Wed, 29 May 2019 09:21:51 +0000 (17:21 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Jun 2019 10:05:08 +0000 (20:05 +1000)
commitf81893b10333a1be4b6006e7d62b53d9b8cf60de
treec401930a621c2348f50b779a2f8bfeab1492f9dc
parent7786ee7d912de35a9f7c26995e10b8ff05344023
powerpc/64s: Fix misleading SPR and timebase information

pr_info shows SPR and timebase as a decimal value with a '0x'
prefix, which is somewhat misleading.

Fix it to print hexadecimal, as was intended.

Fixes: 7c6829b24785 ("powerpc/64s: Reimplement book3s idle code in C")
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/idle.c