Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / blackfin / include / asm / page.h
blobb93474d5be751d6933c0b33f939452fe0a749183
1 /*
2 * Copyright 2004-2009 Analog Devices Inc.
4 * Licensed under the GPL-2 or later.
5 */
7 #ifndef _BLACKFIN_PAGE_H
8 #define _BLACKFIN_PAGE_H
10 #define ARCH_PFN_OFFSET (CONFIG_PHY_RAM_BASE_ADDRESS >> PAGE_SHIFT)
11 #define MAP_NR(addr) ((unsigned long)(addr) >> PAGE_SHIFT)
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)
18 #include <asm-generic/page.h>
19 #include <asm-generic/memory_model.h>
20 #include <asm-generic/getorder.h>
22 #endif