rtt-f030/components/dfs/filesystems/jffs2/kernel/linux/pagemap.h

20 lines
435 B
C

#ifndef __LINUX_PAGEMAP_H__
#define __LINUX_PAGEMAP_H__
#include <asm/bug.h>
#include <asm/page.h>
#define PAGE_CACHE_SHIFT PAGE_SHIFT
#define PAGE_CACHE_SIZE PAGE_SIZE
#define PageLocked(pg) 1
#define Page_Uptodate(pg) 0
#define UnlockPage(pg)
#define PAGE_BUG(pg) BUG()
#define ClearPageUptodate(pg)
#define SetPageError(pg)
#define ClearPageError(pg)
#define SetPageUptodate(pg)
#endif /* __LINUX_PAGEMAP_H__ */