diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-10-31 21:23:55 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-01-05 21:17:19 +0100 |
commit | 0eefed84fe9e1eb90f4b089ead95904306b23233 (patch) | |
tree | e937ef45698cb39d8986bdef335cf4ee7233a8c5 /drivers/base/driver.c | |
parent | 3c0eee3fe6a3a1c745379547c7e7c904aa64f6d5 (diff) |
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 <geert@linux-m68k.org>
Cc: Sam Creasey <sammy@sammy.net>
Diffstat (limited to 'drivers/base/driver.c')
0 files changed, 0 insertions, 0 deletions