diff options
author | Bob Liu <lliubbo@gmail.com> | 2012-05-16 05:37:24 -0400 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-05-21 02:54:12 -0400 |
commit | b5affb0147cee0ea05d909396f8e389092729236 (patch) | |
tree | 483471450269ac65f7748b5408c7f77520421d55 /arch/blackfin/include/asm/page.h | |
parent | 22a826288522863fb748851824ce634eda4f1b07 (diff) |
blackfin: add bf60x to current framework
This patch added bf60x to current blackfin kernel framework.
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/include/asm/page.h')
-rw-r--r-- | arch/blackfin/include/asm/page.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/blackfin/include/asm/page.h b/arch/blackfin/include/asm/page.h index 7202404966f6..b93474d5be75 100644 --- a/arch/blackfin/include/asm/page.h +++ b/arch/blackfin/include/asm/page.h | |||
@@ -7,14 +7,15 @@ | |||
7 | #ifndef _BLACKFIN_PAGE_H | 7 | #ifndef _BLACKFIN_PAGE_H |
8 | #define _BLACKFIN_PAGE_H | 8 | #define _BLACKFIN_PAGE_H |
9 | 9 | ||
10 | #include <asm-generic/page.h> | 10 | #define ARCH_PFN_OFFSET (CONFIG_PHY_RAM_BASE_ADDRESS >> PAGE_SHIFT) |
11 | #define MAP_NR(addr) (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT) | 11 | #define MAP_NR(addr) ((unsigned long)(addr) >> PAGE_SHIFT) |
12 | 12 | ||
13 | #define VM_DATA_DEFAULT_FLAGS \ | 13 | #define VM_DATA_DEFAULT_FLAGS \ |
14 | (VM_READ | VM_WRITE | \ | 14 | (VM_READ | VM_WRITE | \ |
15 | ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \ | 15 | ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \ |
16 | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) | 16 | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) |
17 | 17 | ||
18 | #include <asm-generic/page.h> | ||
18 | #include <asm-generic/memory_model.h> | 19 | #include <asm-generic/memory_model.h> |
19 | #include <asm-generic/getorder.h> | 20 | #include <asm-generic/getorder.h> |
20 | 21 | ||