Skip to content

Commit

Permalink
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/sc…
Browse files Browse the repository at this point in the history
…m/linux/kernel/git/tip/tip

Pull timer fixes from Thomas Gleixner:
 "Two timer fixlets from Arnd:

   - Use proper constant size in the FSL timer driver
   - Prevent a build error for legacy platforms"

* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  clocksource: Disallow drivers for ARCH_USES_GETTIMEOFFSET
  clocksource/fsl: Avoid harmless 64-bit warnings
  • Loading branch information
torvalds committed Nov 21, 2015
2 parents 4143fc8 + 3da6d49 commit 707b4f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions drivers/clocksource/Kconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
menu "Clock Source drivers"
depends on !ARCH_USES_GETTIMEOFFSET

config CLKSRC_OF
bool
Expand Down
4 changes: 2 additions & 2 deletions drivers/clocksource/fsl_ftm_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ static int __init ftm_clockevent_init(unsigned long freq, int irq)
int err;

ftm_writel(0x00, priv->clkevt_base + FTM_CNTIN);
ftm_writel(~0UL, priv->clkevt_base + FTM_MOD);
ftm_writel(~0u, priv->clkevt_base + FTM_MOD);

ftm_reset_counter(priv->clkevt_base);

Expand All @@ -230,7 +230,7 @@ static int __init ftm_clocksource_init(unsigned long freq)
int err;

ftm_writel(0x00, priv->clksrc_base + FTM_CNTIN);
ftm_writel(~0UL, priv->clksrc_base + FTM_MOD);
ftm_writel(~0u, priv->clksrc_base + FTM_MOD);

ftm_reset_counter(priv->clksrc_base);

Expand Down

0 comments on commit 707b4f4

Please sign in to comment.