summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-2.6.38
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-25 22:18:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-25 22:18:17 +0000
commitdef45b136cf95d555d4e18bea7b5caa56155d0b7 (patch)
tree49db6769a9a14d4073e51c01311ea3549ce61372 /target/linux/generic/patches-2.6.38
parenta119ee0013102aa7b9312250b53acf438120d2e6 (diff)
downloadmtk-20170518-def45b136cf95d555d4e18bea7b5caa56155d0b7.zip
mtk-20170518-def45b136cf95d555d4e18bea7b5caa56155d0b7.tar.gz
mtk-20170518-def45b136cf95d555d4e18bea7b5caa56155d0b7.tar.bz2
kernel: remove wrong chunks from the 2.6.37 and 2.6.38 version of the mips oprofile fix
SVN-Revision: 26297
Diffstat (limited to 'target/linux/generic/patches-2.6.38')
-rw-r--r--target/linux/generic/patches-2.6.38/208-mips_oprofile_fix.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/target/linux/generic/patches-2.6.38/208-mips_oprofile_fix.patch b/target/linux/generic/patches-2.6.38/208-mips_oprofile_fix.patch
index 2841ed8..f83c96b 100644
--- a/target/linux/generic/patches-2.6.38/208-mips_oprofile_fix.patch
+++ b/target/linux/generic/patches-2.6.38/208-mips_oprofile_fix.patch
@@ -1,15 +1,3 @@
---- a/arch/mips/Makefile
-+++ b/arch/mips/Makefile
-@@ -48,6 +48,9 @@ ifneq ($(SUBARCH),$(ARCH))
- endif
- endif
-
-+ifndef CONFIG_PROFILING
-+ cflags-y := -ffunction-sections
-+endif
- ifdef CONFIG_FUNCTION_GRAPH_TRACER
- ifndef KBUILD_MCOUNT_RA_ADDRESS
- ifeq ($(call cc-option-yn,-mmcount-ra-address), y)
--- a/arch/mips/oprofile/op_model_mipsxx.c
+++ b/arch/mips/oprofile/op_model_mipsxx.c
@@ -298,6 +298,11 @@ static void reset_counters(void *arg)