drivers: timer: hide CONFIG_APIC_TIMER_IRQ_PRIORITY when not applicable
Make the APIC_TIMER_IRQ_PRIORITY Kconfig depend on APIC_TIMER || APIC_TSC_DEADLINE_TIMER to hide it in menuconfig when not applicable. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
parent
2de4a902de
commit
35733ca385
1 changed files with 8 additions and 7 deletions
|
@ -54,13 +54,6 @@ endif # APIC_TIMER_TSC
|
||||||
|
|
||||||
endif # APIC_TIMER
|
endif # APIC_TIMER
|
||||||
|
|
||||||
config APIC_TIMER_IRQ_PRIORITY
|
|
||||||
int "Local APIC timer interrupt priority"
|
|
||||||
default 4
|
|
||||||
help
|
|
||||||
This option specifies the interrupt priority used by the
|
|
||||||
local APIC timer.
|
|
||||||
|
|
||||||
config APIC_TSC_DEADLINE_TIMER
|
config APIC_TSC_DEADLINE_TIMER
|
||||||
bool "Even newer APIC timer using TSC deadline mode"
|
bool "Even newer APIC timer using TSC deadline mode"
|
||||||
depends on X86
|
depends on X86
|
||||||
|
@ -77,6 +70,14 @@ config APIC_TSC_DEADLINE_TIMER
|
||||||
choice for any x86 device with invariant TSC and TSC
|
choice for any x86 device with invariant TSC and TSC
|
||||||
deadline capability.
|
deadline capability.
|
||||||
|
|
||||||
|
config APIC_TIMER_IRQ_PRIORITY
|
||||||
|
int "Local APIC timer interrupt priority"
|
||||||
|
depends on APIC_TIMER || APIC_TSC_DEADLINE_TIMER
|
||||||
|
default 4
|
||||||
|
help
|
||||||
|
This option specifies the interrupt priority used by the
|
||||||
|
local APIC timer.
|
||||||
|
|
||||||
config HPET_TIMER
|
config HPET_TIMER
|
||||||
bool "HPET timer"
|
bool "HPET timer"
|
||||||
depends on X86
|
depends on X86
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue