Convert non-highmem kmap_atomic() to static inline function
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 1 May 2007 20:33:07 +0000 (22:33 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 5 May 2007 00:59:08 +0000 (17:59 -0700)
commit254f9c5cd2d3b41e64f59df816630f7ca5548a8a
treef6e212c09a80e41ba228525869a269c75cbfc75a
parentf5456e040eaac7eb9545d49c38984af2047699be
Convert non-highmem kmap_atomic() to static inline function

Convert kmap_atomic() in the non-highmem case from a macro to a static
inline function, for better type-checking and the ability to pass void
pointers instead of struct page pointers.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/highmem.h