]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Stop including <linux/delay.h> in two asm header files
authorJean Delvare <khali@linux-fr.org>
Fri, 25 Mar 2011 14:20:14 +0000 (15:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 29 Mar 2011 07:37:42 +0000 (09:37 +0200)
commitc19444539a832c92821ee05bcea09380be713cea
tree6c13c7d5fc9be1d65fc8b0d7aea5cb2cd50667d3
parentec0406e0766db81d599cd93486f6bcce69035b51
x86: Stop including <linux/delay.h> in two asm header files

Stop including <linux/delay.h> in x86 header files which don't
need it. This will let the compiler complain when this header is
not included by source files when it should, so that
contributors can fix the problem before building on other
architectures starts to fail.

Credits go to Geert for the idea.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: James E.J. Bottomley <James.Bottomley@suse.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
LKML-Reference: <20110325152014.297890ec@endymion.delvare>
[ this also fixes an upstream build bug in drivers/media/rc/ite-cir.c ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/apic.h
arch/x86/include/asm/dma.h
arch/x86/kernel/apic/hw_nmi.c
arch/x86/kernel/apic/x2apic_uv_x.c
arch/x86/kernel/irq.c
arch/x86/kernel/reboot.c
arch/x86/platform/uv/tlb_uv.c
drivers/media/rc/ite-cir.c
drivers/scsi/ultrastor.c