summaryrefslogtreecommitdiffstats
path: root/package/linux/kernel-patches/009-arch_mips_kernel_head_S
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-26 10:33:32 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-26 10:33:32 +0000
commite69d8c0d8fbac180aaba30c8a3cdda0770cd8427 (patch)
treef08d225e1f8931634c82cfeb18fa3ad5fa7e664e /package/linux/kernel-patches/009-arch_mips_kernel_head_S
parent609fbd1a579f41a8cb6d1029aa5eb86477851d89 (diff)
uncompress patches, requested by Kaloz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@460 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/linux/kernel-patches/009-arch_mips_kernel_head_S')
-rw-r--r--package/linux/kernel-patches/009-arch_mips_kernel_head_S24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/linux/kernel-patches/009-arch_mips_kernel_head_S b/package/linux/kernel-patches/009-arch_mips_kernel_head_S
new file mode 100644
index 000000000..d31c55e5c
--- /dev/null
+++ b/package/linux/kernel-patches/009-arch_mips_kernel_head_S
@@ -0,0 +1,24 @@
+--- linux-mips-cvs/arch/mips/kernel/head.S 2004-11-22 14:38:23.000000000 +0100
++++ linux-broadcom/arch/mips/kernel/head.S 2005-01-31 13:13:14.000000000 +0100
+@@ -28,12 +28,20 @@
+ #include <asm/mipsregs.h>
+ #include <asm/stackframe.h>
+
++#ifdef CONFIG_BCM4710
++#undef eret
++#define eret nop; nop; eret
++#endif
++
+ .text
++ j kernel_entry
++ nop
++
+ /*
+ * Reserved space for exception handlers.
+ * Necessary for machines which link their kernels at KSEG0.
+ */
+- .fill 0x400
++ .fill 0x3f4
+
+ /* The following two symbols are used for kernel profiling. */
+ EXPORT(stext)