Skip to contentSkip to conversation

spin_[un]lock_bh() compile problem on UP

DISCUSSION Dmitry Torokhov 1 participant 1 message Oct 12, 2006

lore
Share & tools
lore
#0 lore raw

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>?

Signature · 1 line
Dmitry