]> 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)
commit11287588ec363efb987ce273d571f0000dd5d0f3
treec401930a621c2348f50b779a2f8bfeab1492f9dc
parent3187178d7db047abdd835516a56bed13a4459454
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: dc3a25256f2e ("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