OSDN Git Service

powerpc/xive: Remove incorrect debug code
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 12 Jan 2018 02:28:45 +0000 (13:28 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 16 Jan 2018 12:48:04 +0000 (23:48 +1100)
WORD2 if the TIMA isn't byte accessible and
isn't that useful to know about, take out the
pr_devel statement.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/sysdev/xive/common.c

index a3b8d7d..838ebdb 100644 (file)
@@ -1269,11 +1269,6 @@ static void xive_setup_cpu(void)
 {
        struct xive_cpu *xc = __this_cpu_read(xive_cpu);
 
-       /* Debug: Dump the TM state */
-       pr_devel("CPU %d [HW 0x%02x] VT=%02x\n",
-           smp_processor_id(), hard_smp_processor_id(),
-           in_8(xive_tima + xive_tima_offset + TM_WORD2));
-
        /* The backend might have additional things to do */
        if (xive_ops->setup_cpu)
                xive_ops->setup_cpu(smp_processor_id(), xc);