Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[pandora-kernel.git] / arch / blackfin / include / asm / page.h
1 /*
2  * Copyright 2004-2009 Analog Devices Inc.
3  *
4  * Licensed under the GPL-2 or later.
5  */
6
7 #ifndef _BLACKFIN_PAGE_H
8 #define _BLACKFIN_PAGE_H
9
10 #include <asm-generic/page.h>
11 #define MAP_NR(addr) (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)
12
13 #define VM_DATA_DEFAULT_FLAGS \
14         (VM_READ | VM_WRITE | \
15         ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
16                  VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
17
18 #include <asm-generic/memory_model.h>
19 #include <asm-generic/getorder.h>
20
21 #endif