Re: [PATCH 1/1] irq_work.h: fix warning when CONFIG_IRQ_WORK=n

From: Frederic Weisbecker
Date: Fri Mar 08 2013 - 07:38:18 EST


2013/3/8 James Hogan <james.hogan@xxxxxxxxxx>:
> In addition to this warning I also got the following linker error when
> CONFIG_IRQ_WORK=n:
>
> kernel/built-in.o In function `wake_up_klogd':
> (.text.wake_up_klogd+0xb4): undefined reference to `irq_work_queue'
>
> which appears to be because of the following commit:
>
> commit 74876a98a87a115254b3a66a14b27320b7f0acaa ("printk: Wake up klogd
> using irq_work") also merged in v3.9-rc1.
>
> Can somebody more familiar with that code please fix it.

I see. We need to make a wake_up_klogd() off case when CONFIG_PRINTK=n
I'm working on this.

Thanks.
--
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/