powerpc/xive: Fix wrong xmon output caused by typo
authorFrederic Barrat <fbarrat@linux.vnet.ibm.com>
Wed, 14 Mar 2018 17:01:14 +0000 (18:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Mar 2018 13:10:36 +0000 (00:10 +1100)
Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/sysdev/xive/common.c

index 40c06110821c36221010fa221326950759c9c5c1..3459015092fa62e3f5a4c61cb7d37a812e391cf8 100644 (file)
@@ -246,7 +246,7 @@ notrace void xmon_xive_do_dump(int cpu)
                u64 val = xive_esb_read(&xc->ipi_data, XIVE_ESB_GET);
                xmon_printf("  IPI state: %x:%c%c\n", xc->hw_ipi,
                        val & XIVE_ESB_VAL_P ? 'P' : 'p',
-                       val & XIVE_ESB_VAL_P ? 'Q' : 'q');
+                       val & XIVE_ESB_VAL_Q ? 'Q' : 'q');
        }
 #endif
 }