Warning at kernel/mutex.c

Fabio Estevam festevam at gmail.com
Tue Oct 18 14:45:51 EDT 2011


2011/10/18 Uwe Kleine-König <u.kleine-koenig at pengutronix.de>:

>>  static LIST_HEAD(clocks);
>>  static DEFINE_MUTEX(clocks_mutex);
>> +static DEFINE_SPINLOCK(clock_lock);
> If clocks_mutex is unused now, please remove it. If it's not unused you
> probably introduced a problem with your patch.

clocks_mutex is still used in clk_set_rate and clk_set_parent.

Should it be converted to spinlocks too?



More information about the linux-arm-kernel mailing list