m68k: put definition guards around virt_to_phys and phys_to_virt
authorGreg Ungerer <gerg@linux-m68k.org>
Thu, 22 Mar 2018 00:36:41 +0000 (10:36 +1000)
committerGreg Ungerer <gerg@linux-m68k.org>
Sun, 27 May 2018 23:45:25 +0000 (09:45 +1000)
commitf8f3304856cdf67414ba2c1a3d2adf78974a3d6a
treee6549cf8e348146f04a8c8f6fc3810b7a6931034
parentfedc33e36406c4e50592a286169583d0d3d25a2e
m68k: put definition guards around virt_to_phys and phys_to_virt

The non-MMU and ColdFire IO access functions will be moving to using the
asm-generic/io.h in the near future. To make that possible we need define
guards around the m68k specific virt_to_phys() and phys_to_virt()
functions.

Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Angelo Dureghello <angelo@sysam.it>
Tested-by: Angelo Dureghello <angelo@sysam.it>
arch/m68k/include/asm/virtconvert.h