Skip to content

Commit 7849aec

Browse files
ffainelliopsiff
authored andcommitted
scripts/gdb: fix interrupts display after MCP on x86
commit 7627b459aa0737bdd62a8591a1481cda467f20e3 upstream. The text line would not be appended to as it should have, it should have been a '+=' but ended up being a '==', fix that. Link: https://lkml.kernel.org/r/[email protected] Fixes: b0969d7 ("scripts/gdb: print interrupts") Signed-off-by: Florian Fainelli <[email protected]> Cc: Jan Kiszka <[email protected]> Cc: Kieran Bingham <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> (cherry picked from commit cb89f9bf6c3a3b67a6a7baa8f7d9256697711e7f)
1 parent 7b45a04 commit 7849aec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/gdb/linux/interrupts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def x86_show_interupts(prec):
142142

143143
if constants.LX_CONFIG_X86_MCE:
144144
text += x86_show_mce(prec, "&mce_exception_count", "MCE", "Machine check exceptions")
145-
text == x86_show_mce(prec, "&mce_poll_count", "MCP", "Machine check polls")
145+
text += x86_show_mce(prec, "&mce_poll_count", "MCP", "Machine check polls")
146146

147147
text += show_irq_err_count(prec)
148148

0 commit comments

Comments
 (0)