summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/files/patches/nohz-Drop-generic-vtime-obsolete-dependency-on-CONFI.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/files/patches/nohz-Drop-generic-vtime-obsolete-dependency-on-CONFI.patch')
-rw-r--r--recipes-kernel/linux/files/patches/nohz-Drop-generic-vtime-obsolete-dependency-on-CONFI.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/recipes-kernel/linux/files/patches/nohz-Drop-generic-vtime-obsolete-dependency-on-CONFI.patch b/recipes-kernel/linux/files/patches/nohz-Drop-generic-vtime-obsolete-dependency-on-CONFI.patch
new file mode 100644
index 0000000..4c0fb89
--- /dev/null
+++ b/recipes-kernel/linux/files/patches/nohz-Drop-generic-vtime-obsolete-dependency-on-CONFI.patch
@@ -0,0 +1,50 @@
1From 3b2566af2c0ef888f95920f69e9a7e0ebc13ddff Mon Sep 17 00:00:00 2001
2From: Kevin Hilman <khilman@linaro.org>
3Date: Mon, 16 Sep 2013 15:28:19 -0700
4Subject: [PATCH] nohz: Drop generic vtime obsolete dependency on CONFIG_64BIT
5
6The CONFIG_64BIT requirement on vtime can finally be removed
7since we now depend on HAVE_VIRT_CPU_ACCOUNTING_GEN which
8already takes care of the arch ability to handle nsecs based
9cputime_t safely.
10
11Signed-off-by: Kevin Hilman <khilman@linaro.org>
12Cc: Ingo Molnar <mingo@kernel.org>
13Cc: Russell King <rmk@arm.linux.org.uk>
14Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
15Cc: Arm Linux <linux-arm-kernel@lists.infradead.org>
16Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
17Signed-off-by: Mats Liljegren <mats.liljegren@enea.com>
18---
19 init/Kconfig | 2 +-
20 kernel/time/Kconfig | 1 -
21 2 files changed, 1 insertion(+), 2 deletions(-)
22
23diff --git a/init/Kconfig b/init/Kconfig
24index 0b5d0c8..d7411e5 100644
25--- a/init/Kconfig
26+++ b/init/Kconfig
27@@ -325,7 +325,7 @@ config VIRT_CPU_ACCOUNTING_NATIVE
28
29 config VIRT_CPU_ACCOUNTING_GEN
30 bool "Full dynticks CPU time accounting"
31- depends on HAVE_CONTEXT_TRACKING && 64BIT
32+ depends on HAVE_CONTEXT_TRACKING
33 select VIRT_CPU_ACCOUNTING
34 select CONTEXT_TRACKING
35 help
36diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig
37index 70f27e8..c270b48 100644
38--- a/kernel/time/Kconfig
39+++ b/kernel/time/Kconfig
40@@ -100,7 +100,6 @@ config NO_HZ_FULL
41 # RCU_USER_QS dependency
42 depends on HAVE_CONTEXT_TRACKING
43 # VIRT_CPU_ACCOUNTING_GEN dependency
44- depends on 64BIT
45 select NO_HZ_COMMON
46 select RCU_USER_QS
47 select RCU_NOCB_CPU
48--
491.9.1
50