summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti-staging/0003-ARM-config-omap-Disable-extra-debug-options.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-ti-staging/0003-ARM-config-omap-Disable-extra-debug-options.patch')
-rw-r--r--recipes-kernel/linux/linux-ti-staging/0003-ARM-config-omap-Disable-extra-debug-options.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti-staging/0003-ARM-config-omap-Disable-extra-debug-options.patch b/recipes-kernel/linux/linux-ti-staging/0003-ARM-config-omap-Disable-extra-debug-options.patch
new file mode 100644
index 00000000..f515524e
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti-staging/0003-ARM-config-omap-Disable-extra-debug-options.patch
@@ -0,0 +1,47 @@
1From 2d7b208a86b15d2c35336783efa4b604d96ee31e Mon Sep 17 00:00:00 2001
2From: Santosh Shilimkar <santosh.shilimkar@ti.com>
3Date: Thu, 13 Feb 2014 08:33:49 -0500
4Subject: [PATCH 3/6] ARM: config: omap: Disable extra debug options
5
6LOCK debug, SCHED debug, PREEMPT debug are very expensive operations and
7always in fast path of kernel operations. These are typical kernel development
8options and should be disabled in production kernel builds.
9
10Also enable JUMP_LABEL to take advantage of compiler optimisations.
11
12Created using typical 'savedefconfig' method. Hence you see some crypto
13option noise which unrelated and no impact on the end config.
14
15Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
16---
17 arch/arm/configs/omap2plus_defconfig | 6 +++---
18 1 file changed, 3 insertions(+), 3 deletions(-)
19
20diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
21index 4c96d0c..4106761 100644
22--- a/arch/arm/configs/omap2plus_defconfig
23+++ b/arch/arm/configs/omap2plus_defconfig
24@@ -12,6 +12,7 @@ CONFIG_SLAB=y
25 CONFIG_PROFILING=y
26 CONFIG_OPROFILE=y
27 CONFIG_KPROBES=y
28+CONFIG_JUMP_LABEL=y
29 CONFIG_MODULES=y
30 CONFIG_MODULE_FORCE_LOAD=y
31 CONFIG_MODULE_UNLOAD=y
32@@ -376,10 +377,9 @@ CONFIG_NLS_ISO8859_1=y
33 CONFIG_PRINTK_TIME=y
34 CONFIG_DEBUG_INFO=y
35 CONFIG_MAGIC_SYSRQ=y
36-CONFIG_SCHEDSTATS=y
37-CONFIG_TIMER_STATS=y
38-CONFIG_PROVE_LOCKING=y
39+# CONFIG_SCHED_DEBUG is not set
40 # CONFIG_DEBUG_BUGVERBOSE is not set
41+# CONFIG_FTRACE is not set
42 CONFIG_SECURITY=y
43 CONFIG_CRYPTO_TEST=m
44 CONFIG_CRYPTO_ECB=y
45--
461.7.9.5
47