From fa68a3bbf47410d511635064d5d08a2e2d31e3c5 Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Sun, 2 Aug 2009 10:47:47 +0200 Subject: [PATCH] --- yaml --- r: 182195 b: refs/heads/master c: 1a0caf41c061868eff05a054ff2b0ffe26baf4e0 h: refs/heads/master i: 182193: 4c15f9229164ba392c73af5a8a33db492fb6c0c7 182191: 278ceb5873ec1cf06f01b840606044e8b7fbd998 v: v3 --- [refs] | 2 +- trunk/arch/m68k/amiga/config.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 0208b6b27ef2..6eccf1b00afc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: eb054e3b3d531e311e9a34b902fe29247b00f724 +refs/heads/master: 1a0caf41c061868eff05a054ff2b0ffe26baf4e0 diff --git a/trunk/arch/m68k/amiga/config.c b/trunk/arch/m68k/amiga/config.c index 6c74751c7b82..d2cc35d98532 100644 --- a/trunk/arch/m68k/amiga/config.c +++ b/trunk/arch/m68k/amiga/config.c @@ -480,7 +480,7 @@ static void __init amiga_sched_init(irq_handler_t timer_routine) static struct resource sched_res = { .name = "timer", .start = 0x00bfd400, .end = 0x00bfd5ff, }; - jiffy_ticks = (amiga_eclock+HZ/2)/HZ; + jiffy_ticks = DIV_ROUND_CLOSEST(amiga_eclock, HZ); if (request_resource(&mb_resources._ciab, &sched_res)) printk("Cannot allocate ciab.ta{lo,hi}\n");