1 2 3 4 5 6 7
#ifndef _BLACKFIN_PAGE_H #define _BLACKFIN_PAGE_H #include <asm-generic/page.h> #define MAP_NR(addr) (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT) #endif