https://github.com/torvalds/linux
Revision d795ef9aa8311ca3c5158bda1edbcd14479c101c authored by Will Deacon on 17 April 2015, 13:41:29 UTC, committed by Will Deacon on 30 April 2015, 11:11:23 UTC
PPIs are affine by nature, so the interrupt-affinity property is not
used and therefore we shouldn't print a warning in its absence.

Reported-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
1 parent 2cff98b
Raw File
Tip revision: d795ef9aa8311ca3c5158bda1edbcd14479c101c authored by Will Deacon on 17 April 2015, 13:41:29 UTC
arm64: perf: don't warn about missing interrupt-affinity property for PPIs
Tip revision: d795ef9
bust_spinlocks.c
/*
 * lib/bust_spinlocks.c
 *
 * Provides a minimal bust_spinlocks for architectures which don't have one of their own.
 *
 * bust_spinlocks() clears any spinlocks which would prevent oops, die(), BUG()
 * and panic() information from reaching the user.
 */

#include <linux/kernel.h>
#include <linux/printk.h>
#include <linux/spinlock.h>
#include <linux/tty.h>
#include <linux/wait.h>
#include <linux/vt_kern.h>
#include <linux/console.h>


void __attribute__((weak)) bust_spinlocks(int yes)
{
	if (yes) {
		++oops_in_progress;
	} else {
#ifdef CONFIG_VT
		unblank_screen();
#endif
		console_unblank();
		if (--oops_in_progress == 0)
			wake_up_klogd();
	}
}
back to top