History

time: Make VIRT_CPU_ACCOUNTING_GEN depend on GENERIC_CLOCKEVENTS

Moving the CONTEXT_TRACKING Kconfig option into kernel/time/Kconfig added an implicit dependency on the surrounding GENERIC_CLOCKEVENTS option, but this is not always enabled when it is possible to select VIRT_CPU_ACCOUNTING_GEN: WARNING: unmet direct dependencies detected for CONTEXT_TRACKING Depends on [n]: GENERIC_CLOCKEVENTS [=n] Selected by [y]: - VIRT_CPU_ACCOUNTING_GEN [=y] && <choice> && HAVE_CONTEXT_TRACKING [=y] && HAVE_VIRT_CPU_ACCOUNTING_GEN [=y] Platforms without GENERIC_CLOCKEVENTS are rare enough so that corner case can be just ignored. Make it a dependency for VIRT_CPU_ACCOUNTING_GEN to simplify the configuration.

Arnd Bergmann committed 7 years ago

Commit 041a1571 parent 78e10b51 file · +1 −0Browse files

Unified · Split

init/Kconfig+1−0
@@ -382,6 +382,7 @@ config VIRT_CPU_ACCOUNTING_GEN · 381 unmodified lines
382382 bool "Full dynticks CPU time accounting"
383383 depends on HAVE_CONTEXT_TRACKING
384384 depends on HAVE_VIRT_CPU_ACCOUNTING_GEN
385+ depends on GENERIC_CLOCKEVENTS
385386 select VIRT_CPU_ACCOUNTING
386387 select CONTEXT_TRACKING
387388 help

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t