diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-07-11 02:30:19 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-07-11 02:30:19 +0000 |
commit | 877015bee96c8764b6d1a2cc850c2b405a34b1b7 (patch) | |
tree | 8bc6e323ddb7f4fe51cc0bdaea2f3138cc532752 /target/linux/generic-2.6 | |
parent | 3e7d58574f94c8950210ecc0a34a9214f6c86231 (diff) | |
download | upstream-877015bee96c8764b6d1a2cc850c2b405a34b1b7.tar.gz upstream-877015bee96c8764b6d1a2cc850c2b405a34b1b7.tar.bz2 upstream-877015bee96c8764b6d1a2cc850c2b405a34b1b7.zip |
mips: do not use the prefetch instruction on R4K (MIPS32_R1), the ISA does not implement it
SVN-Revision: 16771
Diffstat (limited to 'target/linux/generic-2.6')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.28/025-mips_r4k_no_prefetch.patch | 10 | ||||
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.30/026-mips_r4k_no_prefetch.patch | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.28/025-mips_r4k_no_prefetch.patch b/target/linux/generic-2.6/patches-2.6.28/025-mips_r4k_no_prefetch.patch new file mode 100644 index 0000000000..6e26062b4b --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.28/025-mips_r4k_no_prefetch.patch @@ -0,0 +1,10 @@ +--- a/arch/mips/Kconfig ++++ b/arch/mips/Kconfig +@@ -991,7 +991,6 @@ config CPU_MIPS32_R1 + bool "MIPS32 Release 1" + depends on SYS_HAS_CPU_MIPS32_R1 + select CPU_HAS_LLSC +- select CPU_HAS_PREFETCH + select CPU_SUPPORTS_32BIT_KERNEL + select CPU_SUPPORTS_HIGHMEM + help diff --git a/target/linux/generic-2.6/patches-2.6.30/026-mips_r4k_no_prefetch.patch b/target/linux/generic-2.6/patches-2.6.30/026-mips_r4k_no_prefetch.patch new file mode 100644 index 0000000000..e2fb97e383 --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.30/026-mips_r4k_no_prefetch.patch @@ -0,0 +1,10 @@ +--- a/arch/mips/Kconfig ++++ b/arch/mips/Kconfig +@@ -1036,7 +1036,6 @@ config CPU_MIPS32_R1 + bool "MIPS32 Release 1" + depends on SYS_HAS_CPU_MIPS32_R1 + select CPU_HAS_LLSC +- select CPU_HAS_PREFETCH + select CPU_SUPPORTS_32BIT_KERNEL + select CPU_SUPPORTS_HIGHMEM + help |