Esempio n. 1
0
static void printk_lock(struct rt_mutex *lock, int print_owner)
{
	if (lock->name)
		printk(" [%p] {%s}\n",
			lock, lock->name);
	else
		printk(" [%p] {%s:%d}\n",
			lock, lock->file, lock->line);

	if (print_owner && rt_mutex_owner(lock)) {
		printk(".. ->owner: %p\n", lock->owner);
		printk(".. held by:  ");
		printk_task(rt_mutex_owner(lock));
		printk("\n");
	}
}
Esempio n. 2
0
static void printk_lock(struct rt_mutex *lock, int print_owner)
{
	if (lock->name)
//		printk(" [%p] {%s}\n",
;
	else
//		printk(" [%p] {%s:%d}\n",
;

	if (print_owner && rt_mutex_owner(lock)) {
;
;
		printk_task(rt_mutex_owner(lock));
;
	}
}