A few arch files won't see the definition of udelay()
in asm/delay.h anymore. Prevent that from biting us later.
Signed-off-by: Denis Vlasenko <[email protected]>
--
vda
diff -urpN linux-2.6.18/arch/alpha/kernel/core_t2.c linux-2.6.18.new.1/arch/alpha/kernel/core_t2.c
--- linux-2.6.18/arch/alpha/kernel/core_t2.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/alpha/kernel/core_t2.c 2006-09-21 23:57:45.000000000 +0200
@@ -18,9 +18,9 @@
#include <linux/pci.h>
#include <linux/sched.h>
#include <linux/init.h>
+#include <linux/delay.h>
#include <asm/ptrace.h>
-#include <asm/delay.h>
#include "proto.h"
#include "pci_impl.h"
diff -urpN linux-2.6.18/arch/arm/mach-integrator/platsmp.c linux-2.6.18.new.1/arch/arm/mach-integrator/platsmp.c
--- linux-2.6.18/arch/arm/mach-integrator/platsmp.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/arm/mach-integrator/platsmp.c 2006-09-21 23:57:45.000000000 +0200
@@ -13,10 +13,10 @@
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/mm.h>
+#include <linux/delay.h>
#include <asm/atomic.h>
#include <asm/cacheflush.h>
-#include <asm/delay.h>
#include <asm/mmu_context.h>
#include <asm/procinfo.h>
#include <asm/ptrace.h>
diff -urpN linux-2.6.18/arch/arm/mach-omap2/board-h4.c linux-2.6.18.new.1/arch/arm/mach-omap2/board-h4.c
--- linux-2.6.18/arch/arm/mach-omap2/board-h4.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/arm/mach-omap2/board-h4.c 2006-09-21 23:57:45.000000000 +0200
@@ -19,6 +19,7 @@
#include <linux/delay.h>
#include <linux/workqueue.h>
#include <linux/input.h>
+#include <linux/delay.h>
#include <asm/hardware.h>
#include <asm/mach-types.h>
@@ -39,7 +40,6 @@
#include "prcm-regs.h"
#include <asm/io.h>
-#include <asm/delay.h>
static unsigned int row_gpios[6] = { 88, 89, 124, 11, 6, 96 };
static unsigned int col_gpios[7] = { 90, 91, 100, 36, 12, 97, 98 };
diff -urpN linux-2.6.18/arch/arm/plat-omap/mcbsp.c linux-2.6.18.new.1/arch/arm/plat-omap/mcbsp.c
--- linux-2.6.18/arch/arm/plat-omap/mcbsp.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/arm/plat-omap/mcbsp.c 2006-09-21 23:57:45.000000000 +0200
@@ -20,8 +20,8 @@
#include <linux/interrupt.h>
#include <linux/err.h>
#include <linux/clk.h>
+#include <linux/delay.h>
-#include <asm/delay.h>
#include <asm/io.h>
#include <asm/irq.h>
diff -urpN linux-2.6.18/arch/cris/arch-v10/drivers/i2c.c linux-2.6.18.new.1/arch/cris/arch-v10/drivers/i2c.c
--- linux-2.6.18/arch/cris/arch-v10/drivers/i2c.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/cris/arch-v10/drivers/i2c.c 2006-09-21 23:59:25.000000000 +0200
@@ -96,13 +96,13 @@
#include <linux/fs.h>
#include <linux/string.h>
#include <linux/init.h>
+#include <linux/delay.h>
#include <asm/etraxi2c.h>
#include <asm/system.h>
#include <asm/arch/svinto.h>
#include <asm/io.h>
-#include <asm/delay.h>
#include <asm/arch/io_interface_mux.h>
#include "i2c.h"
diff -urpN linux-2.6.18/arch/cris/arch-v32/drivers/i2c.c linux-2.6.18.new.1/arch/cris/arch-v32/drivers/i2c.c
--- linux-2.6.18/arch/cris/arch-v32/drivers/i2c.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/cris/arch-v32/drivers/i2c.c 2006-09-21 23:58:59.000000000 +0200
@@ -33,12 +33,12 @@
#include <linux/fs.h>
#include <linux/string.h>
#include <linux/init.h>
+#include <linux/delay.h>
#include <asm/etraxi2c.h>
#include <asm/system.h>
#include <asm/io.h>
-#include <asm/delay.h>
#include "i2c.h"
diff -urpN linux-2.6.18/arch/cris/arch-v32/kernel/smp.c linux-2.6.18.new.1/arch/cris/arch-v32/kernel/smp.c
--- linux-2.6.18/arch/cris/arch-v32/kernel/smp.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/cris/arch-v32/kernel/smp.c 2006-09-21 23:57:45.000000000 +0200
@@ -1,4 +1,3 @@
-#include <asm/delay.h>
#include <asm/arch/irq.h>
#include <asm/arch/hwregs/intr_vect.h>
#include <asm/arch/hwregs/intr_vect_defs.h>
@@ -8,6 +7,7 @@
#include <asm/arch/hwregs/supp_reg.h>
#include <asm/atomic.h>
+#include <linux/delay.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/timex.h>
diff -urpN linux-2.6.18/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c linux-2.6.18.new.1/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
--- linux-2.6.18/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c 2006-09-21 23:57:45.000000000 +0200
@@ -32,8 +32,8 @@
#include <linux/seq_file.h>
#include <linux/compiler.h>
#include <linux/sched.h> /* current */
+#include <linux/delay.h>
#include <asm/io.h>
-#include <asm/delay.h>
#include <asm/uaccess.h>
#include <linux/acpi.h>
diff -urpN linux-2.6.18/arch/i386/kernel/cpu/cpufreq/powernow-k8.c linux-2.6.18.new.1/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
--- linux-2.6.18/arch/i386/kernel/cpu/cpufreq/powernow-k8.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/i386/kernel/cpu/cpufreq/powernow-k8.c 2006-09-21 23:57:45.000000000 +0200
@@ -33,10 +33,10 @@
#include <linux/string.h>
#include <linux/cpumask.h>
#include <linux/sched.h> /* for current / set_cpus_allowed() */
+#include <linux/delay.h>
#include <asm/msr.h>
#include <asm/io.h>
-#include <asm/delay.h>
#ifdef CONFIG_X86_POWERNOW_K8_ACPI
#include <linux/acpi.h>
diff -urpN linux-2.6.18/arch/i386/kernel/i8259.c linux-2.6.18.new.1/arch/i386/kernel/i8259.c
--- linux-2.6.18/arch/i386/kernel/i8259.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/i386/kernel/i8259.c 2006-09-21 23:57:45.000000000 +0200
@@ -10,6 +10,7 @@
#include <linux/kernel_stat.h>
#include <linux/sysdev.h>
#include <linux/bitops.h>
+#include <linux/delay.h>
#include <asm/8253pit.h>
#include <asm/atomic.h>
@@ -17,7 +18,6 @@
#include <asm/io.h>
#include <asm/timer.h>
#include <asm/pgtable.h>
-#include <asm/delay.h>
#include <asm/desc.h>
#include <asm/apic.h>
#include <asm/arch_hooks.h>
diff -urpN linux-2.6.18/arch/i386/kernel/reboot_fixups.c linux-2.6.18.new.1/arch/i386/kernel/reboot_fixups.c
--- linux-2.6.18/arch/i386/kernel/reboot_fixups.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/i386/kernel/reboot_fixups.c 2006-09-21 23:57:45.000000000 +0200
@@ -8,7 +8,7 @@
*
*/
-#include <asm/delay.h>
+#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/reboot_fixups.h>
diff -urpN linux-2.6.18/arch/i386/lib/delay.c linux-2.6.18.new.1/arch/i386/lib/delay.c
--- linux-2.6.18/arch/i386/lib/delay.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/i386/lib/delay.c 2006-09-21 23:59:50.000000000 +0200
@@ -16,7 +16,6 @@
#include <linux/delay.h>
#include <asm/processor.h>
-#include <asm/delay.h>
#include <asm/timer.h>
#ifdef CONFIG_SMP
diff -urpN linux-2.6.18/arch/ia64/kernel/mca.c linux-2.6.18.new.1/arch/ia64/kernel/mca.c
--- linux-2.6.18/arch/ia64/kernel/mca.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/ia64/kernel/mca.c 2006-09-21 23:58:07.000000000 +0200
@@ -69,8 +69,8 @@
#include <linux/smp.h>
#include <linux/workqueue.h>
#include <linux/cpumask.h>
+#include <linux/delay.h>
-#include <asm/delay.h>
#include <asm/kdebug.h>
#include <asm/machvec.h>
#include <asm/meminit.h>
diff -urpN linux-2.6.18/arch/ia64/kernel/smpboot.c linux-2.6.18.new.1/arch/ia64/kernel/smpboot.c
--- linux-2.6.18/arch/ia64/kernel/smpboot.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/ia64/kernel/smpboot.c 2006-09-21 23:58:07.000000000 +0200
@@ -40,11 +40,11 @@
#include <linux/efi.h>
#include <linux/percpu.h>
#include <linux/bitops.h>
+#include <linux/delay.h>
#include <asm/atomic.h>
#include <asm/cache.h>
#include <asm/current.h>
-#include <asm/delay.h>
#include <asm/ia32.h>
#include <asm/io.h>
#include <asm/irq.h>
diff -urpN linux-2.6.18/arch/mips/galileo-boards/ev96100/setup.c linux-2.6.18.new.1/arch/mips/galileo-boards/ev96100/setup.c
--- linux-2.6.18/arch/mips/galileo-boards/ev96100/setup.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/mips/galileo-boards/ev96100/setup.c 2006-09-21 23:58:07.000000000 +0200
@@ -38,12 +38,12 @@
#include <linux/string.h>
#include <linux/ctype.h>
#include <linux/pci.h>
+#include <linux/delay.h>
#include <asm/cpu.h>
#include <asm/bootinfo.h>
#include <asm/mipsregs.h>
#include <asm/irq.h>
-#include <asm/delay.h>
#include <asm/gt64120.h>
#include <asm/galileo-boards/ev96100int.h>
diff -urpN linux-2.6.18/arch/mips/pci/ops-gt96100.c linux-2.6.18.new.1/arch/mips/pci/ops-gt96100.c
--- linux-2.6.18/arch/mips/pci/ops-gt96100.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/mips/pci/ops-gt96100.c 2006-09-21 23:58:07.000000000 +0200
@@ -37,8 +37,8 @@
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/init.h>
+#include <linux/delay.h>
-#include <asm/delay.h>
#include <asm/gt64120.h>
#include <asm/galileo-boards/ev96100.h>
diff -urpN linux-2.6.18/arch/parisc/kernel/smp.c linux-2.6.18.new.1/arch/parisc/kernel/smp.c
--- linux-2.6.18/arch/parisc/kernel/smp.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/parisc/kernel/smp.c 2006-09-21 23:58:07.000000000 +0200
@@ -33,11 +33,11 @@
#include <linux/mm.h>
#include <linux/delay.h>
#include <linux/bitops.h>
+#include <linux/delay.h>
#include <asm/system.h>
#include <asm/atomic.h>
#include <asm/current.h>
-#include <asm/delay.h>
#include <asm/tlbflush.h>
#include <asm/io.h>
diff -urpN linux-2.6.18/arch/powerpc/kernel/rtas.c linux-2.6.18.new.1/arch/powerpc/kernel/rtas.c
--- linux-2.6.18/arch/powerpc/kernel/rtas.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/powerpc/kernel/rtas.c 2006-09-21 23:58:07.000000000 +0200
@@ -29,7 +29,6 @@
#include <asm/page.h>
#include <asm/param.h>
#include <asm/system.h>
-#include <asm/delay.h>
#include <asm/uaccess.h>
#include <asm/lmb.h>
#include <asm/udbg.h>
diff -urpN linux-2.6.18/arch/powerpc/kernel/rtas_flash.c linux-2.6.18.new.1/arch/powerpc/kernel/rtas_flash.c
--- linux-2.6.18/arch/powerpc/kernel/rtas_flash.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/powerpc/kernel/rtas_flash.c 2006-09-21 23:58:07.000000000 +0200
@@ -16,7 +16,7 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/proc_fs.h>
-#include <asm/delay.h>
+#include <linux/delay.h>
#include <asm/uaccess.h>
#include <asm/rtas.h>
#include <asm/abs_addr.h>
diff -urpN linux-2.6.18/arch/ppc/platforms/mpc885ads_setup.c linux-2.6.18.new.1/arch/ppc/platforms/mpc885ads_setup.c
--- linux-2.6.18/arch/ppc/platforms/mpc885ads_setup.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/ppc/platforms/mpc885ads_setup.c 2006-09-21 23:58:07.000000000 +0200
@@ -17,12 +17,12 @@
#include <linux/string.h>
#include <linux/ioport.h>
#include <linux/device.h>
+#include <linux/delay.h>
#include <linux/fs_enet_pd.h>
#include <linux/fs_uart_pd.h>
#include <linux/mii.h>
-#include <asm/delay.h>
#include <asm/io.h>
#include <asm/machdep.h>
#include <asm/page.h>
diff -urpN linux-2.6.18/arch/ppc/syslib/mpc52xx_pci.c linux-2.6.18.new.1/arch/ppc/syslib/mpc52xx_pci.c
--- linux-2.6.18/arch/ppc/syslib/mpc52xx_pci.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/ppc/syslib/mpc52xx_pci.c 2006-09-22 00:00:16.000000000 +0200
@@ -11,13 +11,13 @@
* kind, whether express or implied.
*/
+#include <linux/delay.h>
#include <asm/pci.h>
#include <asm/mpc52xx.h>
#include "mpc52xx_pci.h"
-#include <asm/delay.h>
#include <asm/machdep.h>
diff -urpN linux-2.6.18/arch/ppc/syslib/mv64x60_dbg.c linux-2.6.18.new.1/arch/ppc/syslib/mv64x60_dbg.c
--- linux-2.6.18/arch/ppc/syslib/mv64x60_dbg.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/ppc/syslib/mv64x60_dbg.c 2006-09-21 23:58:07.000000000 +0200
@@ -19,7 +19,7 @@
#include <linux/irq.h>
-#include <asm/delay.h>
+#include <linux/delay.h>
#include <asm/mv64x60.h>
#include <asm/machdep.h>
diff -urpN linux-2.6.18/arch/ppc/syslib/ppc83xx_setup.c linux-2.6.18.new.1/arch/ppc/syslib/ppc83xx_setup.c
--- linux-2.6.18/arch/ppc/syslib/ppc83xx_setup.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/ppc/syslib/ppc83xx_setup.c 2006-09-21 23:58:07.000000000 +0200
@@ -30,13 +30,13 @@
#include <linux/tty.h> /* for linux/serial_core.h */
#include <linux/serial_core.h>
#include <linux/serial_8250.h>
+#include <linux/delay.h>
#include <asm/time.h>
#include <asm/mpc83xx.h>
#include <asm/mmu.h>
#include <asm/ppc_sys.h>
#include <asm/kgdb.h>
-#include <asm/delay.h>
#include <asm/machdep.h>
#include <syslib/ppc83xx_setup.h>
diff -urpN linux-2.6.18/arch/sparc/kernel/process.c linux-2.6.18.new.1/arch/sparc/kernel/process.c
--- linux-2.6.18/arch/sparc/kernel/process.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/sparc/kernel/process.c 2006-09-21 23:58:07.000000000 +0200
@@ -28,6 +28,7 @@
#include <linux/delay.h>
#include <linux/pm.h>
#include <linux/init.h>
+#include <linux/delay.h>
#include <asm/auxio.h>
#include <asm/oplib.h>
@@ -36,7 +37,6 @@
#include <asm/page.h>
#include <asm/pgalloc.h>
#include <asm/pgtable.h>
-#include <asm/delay.h>
#include <asm/processor.h>
#include <asm/psr.h>
#include <asm/elf.h>
diff -urpN linux-2.6.18/arch/sparc/kernel/sun4d_smp.c linux-2.6.18.new.1/arch/sparc/kernel/sun4d_smp.c
--- linux-2.6.18/arch/sparc/kernel/sun4d_smp.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/sparc/kernel/sun4d_smp.c 2006-09-21 23:58:07.000000000 +0200
@@ -20,11 +20,11 @@
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/profile.h>
+#include <linux/delay.h>
#include <asm/ptrace.h>
#include <asm/atomic.h>
-#include <asm/delay.h>
#include <asm/irq.h>
#include <asm/page.h>
#include <asm/pgalloc.h>
diff -urpN linux-2.6.18/arch/sparc/kernel/sun4m_smp.c linux-2.6.18.new.1/arch/sparc/kernel/sun4m_smp.c
--- linux-2.6.18/arch/sparc/kernel/sun4m_smp.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/sparc/kernel/sun4m_smp.c 2006-09-21 23:58:07.000000000 +0200
@@ -17,13 +17,13 @@
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/profile.h>
+#include <linux/delay.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
#include <asm/ptrace.h>
#include <asm/atomic.h>
-#include <asm/delay.h>
#include <asm/irq.h>
#include <asm/page.h>
#include <asm/pgalloc.h>
diff -urpN linux-2.6.18/arch/x86_64/kernel/i8259.c linux-2.6.18.new.1/arch/x86_64/kernel/i8259.c
--- linux-2.6.18/arch/x86_64/kernel/i8259.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/x86_64/kernel/i8259.c 2006-09-21 23:58:07.000000000 +0200
@@ -12,6 +12,7 @@
#include <linux/kernel_stat.h>
#include <linux/sysdev.h>
#include <linux/bitops.h>
+#include <linux/delay.h>
#include <asm/acpi.h>
#include <asm/atomic.h>
@@ -19,7 +20,6 @@
#include <asm/io.h>
#include <asm/hw_irq.h>
#include <asm/pgtable.h>
-#include <asm/delay.h>
#include <asm/desc.h>
#include <asm/apic.h>
diff -urpN linux-2.6.18/arch/x86_64/kernel/reboot.c linux-2.6.18.new.1/arch/x86_64/kernel/reboot.c
--- linux-2.6.18/arch/x86_64/kernel/reboot.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/x86_64/kernel/reboot.c 2006-09-21 23:58:07.000000000 +0200
@@ -7,9 +7,9 @@
#include <linux/ctype.h>
#include <linux/string.h>
#include <linux/pm.h>
+#include <linux/delay.h>
#include <asm/io.h>
#include <asm/kdebug.h>
-#include <asm/delay.h>
#include <asm/hw_irq.h>
#include <asm/system.h>
#include <asm/pgtable.h>
diff -urpN linux-2.6.18/arch/x86_64/lib/delay.c linux-2.6.18.new.1/arch/x86_64/lib/delay.c
--- linux-2.6.18/arch/x86_64/lib/delay.c 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6.18.new.1/arch/x86_64/lib/delay.c 2006-09-21 23:58:07.000000000 +0200
@@ -12,7 +12,7 @@
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/delay.h>
-#include <asm/delay.h>
+#include <linux/delay.h>
#include <asm/msr.h>
#ifdef CONFIG_SMP
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]