diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-08-03 22:56:17 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-08-03 22:56:17 -0400 |
commit | 701ec7a7b04a62c74ab1b83b59a3fd35c0ba5fdb (patch) | |
tree | c07aa954f48ec45c422641052d46008697a4a6b1 /arch/arm/mach-shmobile | |
parent | 285eba57db7bd7d7c3c5929fb8621fdcaaea1b00 (diff) | |
parent | 3a09b1be53d23df780a0cd0e4087a05e2ca4a00c (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
arch/arm/configs/ap4evb_defconfig
arch/arm/configs/g3evm_defconfig
arch/arm/configs/g4evm_defconfig
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/Kconfig | 12 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/irqs.h | 1 |
2 files changed, 12 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index 1de8d171c6e9..a87f26121dba 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig | |||
@@ -74,6 +74,18 @@ endmenu | |||
74 | 74 | ||
75 | menu "Timer and clock configuration" | 75 | menu "Timer and clock configuration" |
76 | 76 | ||
77 | config SHMOBILE_TIMER_HZ | ||
78 | int "Kernel HZ (jiffies per second)" | ||
79 | range 32 1024 | ||
80 | default "128" | ||
81 | help | ||
82 | Allows the configuration of the timer frequency. It is customary | ||
83 | to have the timer interrupt run at 1000 Hz or 100 Hz, but in the | ||
84 | case of low timer frequencies other values may be more suitable. | ||
85 | SH-Mobile systems using a 32768 Hz RCLK for clock events may want | ||
86 | to select a HZ value such as 128 that can evenly divide RCLK. | ||
87 | A HZ value that does not divide evenly may cause timer drift. | ||
88 | |||
77 | config SH_TIMER_CMT | 89 | config SH_TIMER_CMT |
78 | bool "CMT timer driver" | 90 | bool "CMT timer driver" |
79 | default y | 91 | default y |
diff --git a/arch/arm/mach-shmobile/include/mach/irqs.h b/arch/arm/mach-shmobile/include/mach/irqs.h index e881797648a9..fa15b5f8a001 100644 --- a/arch/arm/mach-shmobile/include/mach/irqs.h +++ b/arch/arm/mach-shmobile/include/mach/irqs.h | |||
@@ -2,7 +2,6 @@ | |||
2 | #define __ASM_MACH_IRQS_H | 2 | #define __ASM_MACH_IRQS_H |
3 | 3 | ||
4 | #define NR_IRQS 512 | 4 | #define NR_IRQS 512 |
5 | #define NR_IRQS_LEGACY 8 | ||
6 | 5 | ||
7 | /* INTCA */ | 6 | /* INTCA */ |
8 | #define evt2irq(evt) (((evt) >> 5) - 16) | 7 | #define evt2irq(evt) (((evt) >> 5) - 16) |