Messages in this thread | | | Date | Sat, 29 Dec 2012 14:15:29 +0100 | Subject | Re: [PATCH 02/24] cputime: Generic on-demand virtual cputime accounting | From | Frederic Weisbecker <> |
| |
2012/12/26 Li Zhong <zhong@linux.vnet.ibm.com>: > On Thu, 2012-12-20 at 19:32 +0100, Frederic Weisbecker wrote: >> diff --git a/init/Kconfig b/init/Kconfig >> index 60579d6..a64b3e8 100644 >> --- a/init/Kconfig >> +++ b/init/Kconfig >> @@ -340,7 +340,9 @@ config TICK_CPU_ACCOUNTING >> >> config VIRT_CPU_ACCOUNTING >> bool "Deterministic task and CPU time accounting" >> - depends on HAVE_VIRT_CPU_ACCOUNTING >> + depends on HAVE_VIRT_CPU_ACCOUNTING || HAVE_CONTEXT_TRACKING >> + select VIRT_CPU_ACCOUNTING_GEN if !HAVE_VIRT_CPU_ACCOUNTING >> + default y if PPC64 > > I saw > "init/Kconfig:346:warning: defaults for choice values not supported" > on this line. So maybe we don't need it. And we already have > "default VIRT_CPU_ACCOUNTING if PPC64" > > Thanks, Zhong
Fixed for the next version, thanks!
| |