From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/arch/blackfin/include/asm/page.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ANDROID_3.4.5/arch/blackfin/include/asm/page.h (limited to 'ANDROID_3.4.5/arch/blackfin/include/asm/page.h') diff --git a/ANDROID_3.4.5/arch/blackfin/include/asm/page.h b/ANDROID_3.4.5/arch/blackfin/include/asm/page.h new file mode 100644 index 00000000..72024049 --- /dev/null +++ b/ANDROID_3.4.5/arch/blackfin/include/asm/page.h @@ -0,0 +1,21 @@ +/* + * Copyright 2004-2009 Analog Devices Inc. + * + * Licensed under the GPL-2 or later. + */ + +#ifndef _BLACKFIN_PAGE_H +#define _BLACKFIN_PAGE_H + +#include +#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 +#include + +#endif -- cgit