remove early_initcall hacks
authorFelix Fietkau <nbd@openwrt.org>
Wed, 14 Jun 2006 20:25:16 +0000 (20:25 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 14 Jun 2006 20:25:16 +0000 (20:25 +0000)
SVN-Revision: 3944

openwrt/target/linux/aruba-2.6/patches/000-aruba.patch
openwrt/target/linux/brcm-2.6/patches/001-bcm947xx.patch

index 7bb8a26d7fbcb22fb3ae77b489b36022c46c5878..ee02c34722a7514d56d950f502a508f57c10cdfd 100644 (file)
@@ -10492,18 +10492,6 @@ diff -Nur linux-2.6.16/include/asm-mips/mach-generic/irq.h linux-2.6.16-owrt/inc
 +#define NR_IRQS       256
  
  #endif /* __ASM_MACH_GENERIC_IRQ_H */
-diff -Nur linux-2.6.16/include/linux/init.h linux-2.6.16-owrt/include/linux/init.h
---- linux-2.6.16/include/linux/init.h  2006-03-20 06:53:29.000000000 +0100
-+++ linux-2.6.16-owrt/include/linux/init.h     2006-03-20 14:25:10.000000000 +0100
-@@ -86,6 +86,8 @@
-       static initcall_t __initcall_##fn __attribute_used__ \
-       __attribute__((__section__(".initcall" level ".init"))) = fn
-+#define early_initcall(fn)              __define_initcall(".early1",fn)
-+
- #define core_initcall(fn)             __define_initcall("1",fn)
- #define postcore_initcall(fn)         __define_initcall("2",fn)
- #define arch_initcall(fn)             __define_initcall("3",fn)
 diff -Nur linux-2.6.16/include/linux/kernel.h linux-2.6.16-owrt/include/linux/kernel.h
 --- linux-2.6.16/include/linux/kernel.h        2006-03-20 06:53:29.000000000 +0100
 +++ linux-2.6.16-owrt/include/linux/kernel.h   2006-03-20 14:25:10.000000000 +0100
index c6f63a2b8a861475b399e4f7f8af7ee9889275ba..a0820d0cd680eb56405d3779d6dc107accd19aaf 100644 (file)
@@ -11904,18 +11904,6 @@ diff -Nur linux-2.6.16/include/asm-mips/cpu.h linux-2.6.16-owrt/include/asm-mips
  
  /*
   * ISA Level encodings
-diff -Nur linux-2.6.16/include/linux/init.h linux-2.6.16-owrt/include/linux/init.h
---- linux-2.6.16/include/linux/init.h  2006-03-20 06:53:29.000000000 +0100
-+++ linux-2.6.16-owrt/include/linux/init.h     2006-03-21 09:31:00.000000000 +0100
-@@ -86,6 +86,8 @@
-       static initcall_t __initcall_##fn __attribute_used__ \
-       __attribute__((__section__(".initcall" level ".init"))) = fn
-+#define early_initcall(fn)            __define_initcall(".early1",fn)
-+
- #define core_initcall(fn)             __define_initcall("1",fn)
- #define postcore_initcall(fn)         __define_initcall("2",fn)
- #define arch_initcall(fn)             __define_initcall("3",fn)
 diff -Nur linux-2.6.16/include/linux/pci_ids.h linux-2.6.16-owrt/include/linux/pci_ids.h
 --- linux-2.6.16/include/linux/pci_ids.h       2006-03-20 06:53:29.000000000 +0100
 +++ linux-2.6.16-owrt/include/linux/pci_ids.h  2006-03-21 09:31:00.000000000 +0100