From: Geert Uytterhoeven Date: Sun, 31 Oct 2010 20:23:55 +0000 (+0100) Subject: m68k/sun3: Kill pte_unmap() warnings X-Git-Tag: v2.6.38-rc1~425^2~16 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0eefed84fe9e1eb90f4b089ead95904306b23233;p=pandora-kernel.git m68k/sun3: Kill pte_unmap() warnings Since commit 31c911329e048b715a1dfeaaf617be9430fd7f4e ("mm: check the argument of kunmap on architectures without highmem"), we get lots of warnings like arch/m68k/kernel/sys_m68k.c:508: warning: passing argument 1 of ‘kunmap’ from incompatible pointer type As m68k doesn't support highmem anyway, open code the calls to kmap() and kunmap() (the latter is a no-op) to kill the warnings, like is done on most other architectures without CONFIG_HIGHPTE. Signed-off-by: Geert Uytterhoeven Cc: Sam Creasey --- Reading git-diff-tree failed