summaryrefslogtreecommitdiff
path: root/arch/blackfin/include/asm/page.h
blob: 944a07c6cfd6084500347ef3b440786d2d546bd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Copyright 2004-2009 Analog Devices Inc.
 *
 * Licensed under the GPL-2 or later.
 */

#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