m68k: __pa(): cast arg to long
authorAndrew Morton <akpm@linux-foundation.org>
Sat, 2 Oct 2010 17:32:41 +0000 (19:32 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 22 Oct 2010 07:43:25 +0000 (09:43 +0200)
commit22e58f9de5d140116eb3a30d5e54396e3030bed2
tree2e3c7872075aa3b60e5f473ea4cc70f899ee008f
parent8ce71db25edccde4d8e3e39bffb4178bf1018ef1
m68k: __pa(): cast arg to long

Fixes this:

drivers/char/mem.c: In function 'mmap_kmem':
drivers/char/mem.c:342: warning: cast to pointer from integer of different size

by doing what other archtiectures do.

Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/page_mm.h