1/**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 **************************************************************************** 11 ****************************************************************************/ 12#ifndef _LINUX_HIGHMEM_H 13#define _LINUX_HIGHMEM_H 14 15#include <linux/fs.h> 16#include <linux/mm.h> 17 18#include <asm/cacheflush.h> 19 20#ifndef ARCH_HAS_FLUSH_ANON_PAGE 21#endif 22#ifndef ARCH_HAS_FLUSH_KERNEL_DCACHE_PAGE 23#endif 24#define kunmap(page) do { (void) (page); } while (0) 25#define kmap_atomic(page, idx) page_address(page) 26#define kunmap_atomic(addr, idx) do { } while (0) 27#define kmap_atomic_pfn(pfn, idx) page_address(pfn_to_page(pfn)) 28#define kmap_atomic_to_page(ptr) virt_to_page(ptr) 29#ifndef __HAVE_ARCH_ALLOC_ZEROED_USER_HIGHPAGE 30#endif 31#endif 32