[build failure] Re: BKL: remove extraneous #include <smp_lock.h>

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Thursday, November 18, 2010 - 2:43 am

* Linus Torvalds <torvalds@linux-foundation.org> wrote:


Latest -git fails to build in some circumstances:

 drivers/net/irda/sir_dev.c: In function ‘sirdev_schedule_request’:
 drivers/net/irda/sir_dev.c:292:244: error: dereferencing pointer to incomplete type

Caused by these patches:

 0a5b871ea4c6: hardirq.h: remove now-empty #ifdef/#endif pair
 7957f0a85775: Fix build failure due to hwirq.h needing smp_lock.h
 460781b54253: BKL: remove references to lock_kernel from comments
 451a3c24b013: BKL: remove extraneous #include <smp_lock.h>

I've attached the .config.

It's a problem with one of these:

                if (in_interrupt()  ||  in_atomic()  ||  irqs_disabled()) {

(Havent checked it yet what the problem is.)

Thanks,

	Ingo
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: BKL: remove extraneous #include &lt;smp_lock.h&gt;, Randy Dunlap, (Wed Nov 17, 3:05 pm)
Re: BKL: remove extraneous #include &lt;smp_lock.h&gt;, Linus Torvalds, (Wed Nov 17, 3:23 pm)
Re: BKL: remove extraneous #include &lt;smp_lock.h&gt;, Randy Dunlap, (Wed Nov 17, 3:37 pm)
Re: BKL: remove extraneous #include &lt;smp_lock.h&gt;, Arnd Bergmann, (Wed Nov 17, 3:43 pm)
[build failure] Re: BKL: remove extraneous #include <smp_l ..., Ingo Molnar, (Thu Nov 18, 2:43 am)