goprife@gmail.com 3b11805964 add jffs2 code (porting from ecos v3.0)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1919 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-13 18:45:44 +00:00

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__ */