]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commit3c46041769adecf3ed964cbd1e6bd4324d063450
tree931aed6304d6e738a7b10293aa120cccafe5d572
parent5a4acf3eac0631c288b8abb070fdb38c21eaf787
m68knommu: make non-MMU page_to_virt() return a void *

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>
arch/m68k/include/asm/page_no.h