mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
21 lines
496 B
C
21 lines
496 B
C
/*
|
||
* 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)
|
||
|
||
#define VM_DATA_DEFAULT_FLAGS \
|
||
(VM_READ | VM_WRITE | \
|
||
((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
|
||
VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
|
||
|
||
#include <asm-generic/memory_model.h>
|
||
#include <asm-generic/getorder.h>
|
||
|
||
#endif
|