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);