From 755f396893e9738c1588594c05a68d120cf82d72 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 11 Jul 2009 02:30:19 +0000 Subject: mips: do not use the prefetch instruction on R4K (MIPS32_R1), the ISA does not implement it git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16771 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../generic-2.6/patches-2.6.28/025-mips_r4k_no_prefetch.patch | 10 ++++++++++ .../generic-2.6/patches-2.6.30/026-mips_r4k_no_prefetch.patch | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 target/linux/generic-2.6/patches-2.6.28/025-mips_r4k_no_prefetch.patch create mode 100644 target/linux/generic-2.6/patches-2.6.30/026-mips_r4k_no_prefetch.patch (limited to 'target/linux/generic-2.6') 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 000000000..6e26062b4 --- /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 000000000..e2fb97e38 --- /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 -- cgit v1.2.3