From fe6c946ade1c78900e702ace474d84251ace2023 Mon Sep 17 00:00:00 2001 From: Russell King Date: Sun, 17 Apr 2005 15:36:55 +0100 Subject: [PATCH] --- yaml --- r: 231 b: refs/heads/master c: 336eb02b9171d132a9abe575317fee4cca965af4 h: refs/heads/master i: 229: 9a8596e7e5b752ca6e3928eeac6b4399b3dac3d3 227: f1bcbbb36008cbda73faddcbcd136e84b6865efa 223: 57b7ebc221b2388f7547354f874dafda1a79edad v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-footbridge/dc21285-timer.c | 4 ++-- trunk/fs/char_dev.c | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 16da41a36ba0..084d0719f7df 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ce1dc02f76432a46db149241e015a4f782974623 +refs/heads/master: 336eb02b9171d132a9abe575317fee4cca965af4 diff --git a/trunk/arch/arm/mach-footbridge/dc21285-timer.c b/trunk/arch/arm/mach-footbridge/dc21285-timer.c index 580e1d4bce08..da5b9b7623ca 100644 --- a/trunk/arch/arm/mach-footbridge/dc21285-timer.c +++ b/trunk/arch/arm/mach-footbridge/dc21285-timer.c @@ -51,8 +51,6 @@ static struct irqaction footbridge_timer_irq = { */ static void __init footbridge_timer_init(void) { - isa_rtc_init(); - timer1_latch = (mem_fclk_21285 + 8 * HZ) / (16 * HZ); *CSR_TIMER1_CLR = 0; @@ -60,6 +58,8 @@ static void __init footbridge_timer_init(void) *CSR_TIMER1_CNTL = TIMER_CNTL_ENABLE | TIMER_CNTL_AUTORELOAD | TIMER_CNTL_DIV16; setup_irq(IRQ_TIMER1, &footbridge_timer_irq); + + isa_rtc_init(); } struct sys_timer footbridge_timer = { diff --git a/trunk/fs/char_dev.c b/trunk/fs/char_dev.c index a745b1d9e545..7357a9127df1 100644 --- a/trunk/fs/char_dev.c +++ b/trunk/fs/char_dev.c @@ -26,7 +26,8 @@ static struct kobj_map *cdev_map; -#define MAX_PROBE_HASH 255 /* random */ +/* degrade to linked list for small systems */ +#define MAX_PROBE_HASH (CONFIG_BASE_SMALL ? 1 : 255) static DECLARE_MUTEX(chrdevs_lock);