提交 41bb1a9b 编写于 作者: T Thomas Bogendoerfer

MIPS: mm: Add back define for PAGE_SHARED

There are still some drivers using PAGE_SHARED constant so put it back.
Reported-by: Nkernel test robot <lkp@intel.com>
Signed-off-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
上级 a8c0f1c6
......@@ -25,6 +25,8 @@
struct mm_struct;
struct vm_area_struct;
#define PAGE_SHARED vm_get_page_prot(VM_READ|VM_WRITE|VM_SHARED)
#define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
_PAGE_GLOBAL | _page_cachable_default)
#define PAGE_KERNEL_NC __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册