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
|
@ -54,13 +54,6 @@ endif # APIC_TIMER_TSC
|
|||
|
||||
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
|
||||
bool "Even newer APIC timer using TSC deadline mode"
|
||||
depends on X86
|
||||
|
@ -77,6 +70,14 @@ config APIC_TSC_DEADLINE_TIMER
|
|||
choice for any x86 device with invariant TSC and TSC
|
||||
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
|
||||
bool "HPET timer"
|
||||
depends on X86
|
||||
|
|
Loading…
Reference in New Issue