[RFC PATCH 00/13] m68k: Drop arch_gettimeoffset and adopt clocksource API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series removes "select ARCH_USES_GETTIMEOFFSET" from arch/m68k
and converts users of arch_gettimeoffset to the clocksource API.
Various bugs are fixed along the way.

Those platforms which do not actually implement arch_gettimeoffset
(apollo, q40, sun3, sun3x) use the "jiffies" clocksource by default.

More testing and code review would be appreciated.


Finn Thain (13):
  arm: Fix mutual exclusion in arch_gettimeoffset
  m68k: Fix mutual exclusion in arch_gettimeoffset
  m68k: mac: Fix VIA timer counter accesses
  m68k: mac: Clean up unused timer definitions
  m68k: apollo, q40, sun3, sun3x: Remove arch_gettimeoffset
    implementations
  m68k: Drop ARCH_USES_GETTIMEOFFSET
  m68k: amiga: Convert to clocksource API
  m68k: atari: Convert to clocksource API
  m68k: bvme6000: Convert to clocksource API
  m68k: hp300: Convert to clocksource API
  m68k: mac: Convert to clocksource API
  m68k: mvme147: Convert to clocksource API
  m68k: mvme16x: Convert to clocksource API

 arch/arm/mach-ebsa110/core.c      |   5 ++
 arch/arm/mach-rpc/time.c          |   5 ++
 arch/m68k/Kconfig                 |   1 -
 arch/m68k/amiga/config.c          |  47 +++++++---
 arch/m68k/apollo/config.c         |   7 --
 arch/m68k/atari/config.c          |   2 -
 arch/m68k/atari/time.c            |  45 ++++++++--
 arch/m68k/bvme6000/config.c       |  66 +++++++++-----
 arch/m68k/hp300/config.c          |   1 -
 arch/m68k/hp300/time.c            |  41 +++++++--
 arch/m68k/hp300/time.h            |   1 -
 arch/m68k/include/asm/macints.h   |   3 -
 arch/m68k/include/asm/mvme147hw.h |   1 -
 arch/m68k/mac/config.c            |  10 +--
 arch/m68k/mac/via.c               | 145 ++++++++++++++++++++----------
 arch/m68k/mvme147/config.c        |  51 ++++++++---
 arch/m68k/mvme16x/config.c        |  48 ++++++----
 arch/m68k/q40/config.c            |   9 --
 arch/m68k/sun3/config.c           |   2 -
 arch/m68k/sun3/intersil.c         |   7 --
 arch/m68k/sun3x/config.c          |   1 -
 arch/m68k/sun3x/time.c            |   5 --
 arch/m68k/sun3x/time.h            |   1 -
 23 files changed, 326 insertions(+), 178 deletions(-)

-- 
2.18.1




[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux