diff --git a/include/linux/highmem.h b/include/linux/highmem.h index 1fcb7126a01f1aa3e7a4c63abd46c4311946c843..211ff4497269e8228951524c8bf2b01a7d1dbeb3 100644 --- a/include/linux/highmem.h +++ b/include/linux/highmem.h @@ -55,7 +55,9 @@ static inline void *kmap(struct page *page) return page_address(page); } -#define kunmap(page) do { (void) (page); } while (0) +static inline void kunmap(struct page *page) +{ +} static inline void *kmap_atomic(struct page *page, enum km_type idx) {