lockdep, UML: fix compilation when CONFIG_TRACE_IRQFLAGS_SUPPORT is not set
authorRui Sousa <rui.p.m.sousa@gmail.com>
Thu, 4 Sep 2008 17:47:53 +0000 (19:47 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 5 Sep 2008 10:56:26 +0000 (12:56 +0200)
commit8c56250f48347750c82ab18d98d647dcf99ca674
tree7886a7900494c4fafef7e5d4d5b17af19c7f7f39
parentcdad72207d164569cb4bf647eb824a7f93e8d388
lockdep, UML: fix compilation when CONFIG_TRACE_IRQFLAGS_SUPPORT is not set

Hiroshi Shimamoto reported:

> > !TRACE_IRQFLAGS_SUPPORT mode of build for future work, it can be
> > restored via a simple revert.
>
> Hi, it seems that this patch breaks uml build.
>
> kernel/printk.c: In function 'vprintk':
> kernel/printk.c:674: error: implicit declaration of function
> 'raw_local_irq_save' kernel/printk.c:772: error: implicit declaration of
> function 'raw_local_irq_restore'

With the patch bellow it compiles (make ARCH=um with a x86 host), but I'm
really out of my league on this one...

Reported-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-um/system-generic.h