Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231
b: refs/heads/master
c: 336eb02
h: refs/heads/master
i:
  229: 9a8596e
  227: f1bcbbb
  223: 57b7ebc
v: v3
  • Loading branch information
Russell King committed Apr 17, 2005
1 parent fc8a640 commit fe6c946
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce1dc02f76432a46db149241e015a4f782974623
refs/heads/master: 336eb02b9171d132a9abe575317fee4cca965af4
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-footbridge/dc21285-timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ 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;
*CSR_TIMER1_LOAD = timer1_latch;
*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 = {
Expand Down
3 changes: 2 additions & 1 deletion trunk/fs/char_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit fe6c946

Please sign in to comment.