lkml.org 
[lkml]   [2006]   [Nov]   [22]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 21 Nov 2006 23:45:48 -0800
FromRandy Dunlap <>
Subjectlocal_bh_dis/enable warnings
Hi,

On UP (non-SMP) i386 builds (without DEBUG_SPINLOCK),
I see this warning:

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'

How do we get these functions explicitly declared?
When I include linux/interrupt.h, I just get lots more errors,
although maybe it (only) needs types.h to fix most of those
(but I'm too sleepy to look right now :).

config attached.
---
~Randy[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2006-11-22 07:49    [from the cache]
©2003-2008