]> git.baikalelectronics.ru Git - kernel.git/commit
locking/selftest: Fix output since KERN_CONT changes
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Nov 2016 22:45:28 +0000 (09:45 +1100)
committerIngo Molnar <mingo@kernel.org>
Fri, 25 Nov 2016 06:12:19 +0000 (07:12 +0100)
commitdbf084db7e5da1667a0a180f6d2f9d7073e3a3bf
tree6ea7a77c971474aef12c6d0f50843a0efddd5019
parent370baff9475f77f6640ba58ef4db2cb4d25e7812
locking/selftest: Fix output since KERN_CONT changes

Since the KERN_CONT changes the locking-selftest output is messed up, eg:

  ----------------------------------------------------------------------------
                                   | spin |wlock |rlock |mutex | wsem | rsem |
    --------------------------------------------------------------------------
                       A-A deadlock:
    ok  |
    ok  |
    ok  |
    ok  |
    ok  |
    ok  |

Use pr_cont() to get it looking normal again:

  ----------------------------------------------------------------------------
                                   | spin |wlock |rlock |mutex | wsem | rsem |
    --------------------------------------------------------------------------
                       A-A deadlock:  ok  |  ok  |  ok  |  ok  |  ok  |  ok  |

Reported-by: Christian Kujau <lists@nerdbynature.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linuxppc-dev@ozlabs.org
Link: http://lkml.kernel.org/r/1480027528-934-1-git-send-email-mpe@ellerman.id.au
Signed-off-by: Ingo Molnar <mingo@kernel.org>
lib/locking-selftest.c