]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - lib/locking-selftest.c
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)
commit2513940989fa2c56d0aeb4f5792d22804d92ab4c
tree6ea7a77c971474aef12c6d0f50843a0efddd5019
parent10b9dd56860e93f11cd352e8c75a33357b80b70b
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