m68knommu: make non-MMU page_to_virt() return a void *
authorGreg Ungerer <gerg@uclinux.org>
Mon, 22 Oct 2012 05:29:59 +0000 (15:29 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Wed, 5 Dec 2012 00:51:22 +0000 (10:51 +1000)
The page_to_virt() macro for m68knommu is currently effectively returning
an int type. But the equivilent m68k macro returns a void * virtual address.
Modify the non-MMU macro to return a void * as well (using the __va macro).

This change will remove compiler warnings in common m68k code that use this
macro.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>

No differences found