]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 4646/1: AT91: configurable HZ, default to 128
authorDavid Brownell <david-b@pacbell.net>
Mon, 12 Nov 2007 16:59:10 +0000 (17:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Jan 2008 15:00:31 +0000 (15:00 +0000)
commit5248c657898c018bcd23ef77759fa1d6c690bdf4
tree48204e22be9aa73f5e8dba4ed79df6517a1f7b21
parent156864f806baa4e1aa6eabd28ac45ecc92b31315
[ARM] 4646/1: AT91: configurable HZ, default to 128

This makes HZ configurable on AT91, following the model used on OMAP.

It defaults to a power of two on AT91rm9200 chips, avoiding rounding
errors which come from dividing a 32 KiHz clock to generate scheduler
irqs; and uses 100 on AT91sam926x chips, using MCK/16 (multi-MHZ).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Remy Bhmer <linux@bohmer.net>
Acked-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/mach-at91/Kconfig