spin_[un]lock_bh() compile problem on UP

From: Dmitry Torokhov
Date: Wed Oct 11 2006 - 23:59:22 EST


Ingo,

I am getting the following warning when I try compiling latest pull
from Linus on UP with kernel debuggin disabled.

drivers/input/ff-memless.c: In function `ml_ff_set_gain':
drivers/input/ff-memless.c:384: warning: implicit declaration of function `local_bh_disable'
drivers/input/ff-memless.c:393: warning: implicit declaration of function `local_bh_enable'

Should linux/spinlock_api_up.h do #include <linux/interrupt.h>?

--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/