diff options
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 40 |
1 files changed, 38 insertions, 2 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index ba412e02ec0c..1e987404d2b0 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1614,13 +1614,49 @@ config ARCH_NR_GPIO | |||
1614 | 1614 | ||
1615 | source kernel/Kconfig.preempt | 1615 | source kernel/Kconfig.preempt |
1616 | 1616 | ||
1617 | config HZ | 1617 | config HZ_FIXED |
1618 | int | 1618 | int |
1619 | default 200 if ARCH_EBSA110 || ARCH_S3C24XX || ARCH_S5P64X0 || \ | 1619 | default 200 if ARCH_EBSA110 || ARCH_S3C24XX || ARCH_S5P64X0 || \ |
1620 | ARCH_S5PV210 || ARCH_EXYNOS4 | 1620 | ARCH_S5PV210 || ARCH_EXYNOS4 |
1621 | default AT91_TIMER_HZ if ARCH_AT91 | 1621 | default AT91_TIMER_HZ if ARCH_AT91 |
1622 | default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE | 1622 | default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE |
1623 | default 100 | 1623 | |
1624 | choice | ||
1625 | depends on !HZ_FIXED | ||
1626 | prompt "Timer frequency" | ||
1627 | |||
1628 | config HZ_100 | ||
1629 | bool "100 Hz" | ||
1630 | |||
1631 | config HZ_200 | ||
1632 | bool "200 Hz" | ||
1633 | |||
1634 | config HZ_250 | ||
1635 | bool "250 Hz" | ||
1636 | |||
1637 | config HZ_300 | ||
1638 | bool "300 Hz" | ||
1639 | |||
1640 | config HZ_500 | ||
1641 | bool "500 Hz" | ||
1642 | |||
1643 | config HZ_1000 | ||
1644 | bool "1000 Hz" | ||
1645 | |||
1646 | endchoice | ||
1647 | |||
1648 | config HZ | ||
1649 | int | ||
1650 | default HZ_FIXED if HZ_FIXED | ||
1651 | default 100 if HZ_100 | ||
1652 | default 200 if HZ_200 | ||
1653 | default 250 if HZ_250 | ||
1654 | default 300 if HZ_300 | ||
1655 | default 500 if HZ_500 | ||
1656 | default 1000 | ||
1657 | |||
1658 | config SCHED_HRTICK | ||
1659 | def_bool HIGH_RES_TIMERS | ||
1624 | 1660 | ||
1625 | config SCHED_HRTICK | 1661 | config SCHED_HRTICK |
1626 | def_bool HIGH_RES_TIMERS | 1662 | def_bool HIGH_RES_TIMERS |