m68k updates for 4.18

  - A few time-related fixes:
      - off-by-one calendar month on some classes of machines,
      - Y2038 preparation,
  - Build fix for ndelay() being called with a 64-bit type,
  - Revive 64-bit get_user(), which is used by some Android code,
  - Defconfig updates,
  - Fix for a long-standing fatal bug in iounmap() on '020/030, which
    was actually fixed in 2.4.23, but never in 2.5.x and later,
  - Default DMA mask to avoid warning splats,
  - Minor fixes and cleanups.
Version: GnuPG v2

m68k: Set default dma mask for platform devices

This avoids a WARNING splat when loading the macsonic or macmace driver.
Please see commit 205e1b7f51e4 ("dma-mapping: warn when there is no

This implementation of arch_setup_pdev_archdata() differs from the
powerpc one, in that this one avoids clobbering a device dma mask
which has already been initialized.

Cc: Christoph Hellwig <hch@lst.de>
Cc: Greg Ungerer <gerg@linux-m68k.org>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
1 file changed