M7350/kernel/arch/blackfin/include/asm/page.h

23 lines
546 B
C
Raw Normal View History

2024-09-09 08:52:07 +00:00
/*
* Copyright 2004-2009 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#ifndef _BLACKFIN_PAGE_H
#define _BLACKFIN_PAGE_H
2024-09-09 08:57:42 +00:00
#define ARCH_PFN_OFFSET (CONFIG_PHY_RAM_BASE_ADDRESS >> PAGE_SHIFT)
#define MAP_NR(addr) ((unsigned long)(addr) >> PAGE_SHIFT)
2024-09-09 08:52:07 +00:00
#define VM_DATA_DEFAULT_FLAGS \
(VM_READ | VM_WRITE | \
((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
2024-09-09 08:57:42 +00:00
#include <asm-generic/page.h>
2024-09-09 08:52:07 +00:00
#include <asm-generic/memory_model.h>
#include <asm-generic/getorder.h>
#endif