| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * OpenRISC Linux |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 9 | 10 | * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com> |
|---|
| 10 | 11 | * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> |
|---|
| 11 | 12 | * et al. |
|---|
| 12 | | - * |
|---|
| 13 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 14 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 15 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 16 | | - * (at your option) any later version. |
|---|
| 17 | 13 | */ |
|---|
| 18 | 14 | |
|---|
| 19 | 15 | #ifndef __ASM_OPENRISC_PAGE_H |
|---|
| .. | .. |
|---|
| 89 | 85 | #define virt_addr_valid(kaddr) (pfn_valid(virt_to_pfn(kaddr))) |
|---|
| 90 | 86 | |
|---|
| 91 | 87 | #endif /* __ASSEMBLY__ */ |
|---|
| 92 | | - |
|---|
| 93 | | - |
|---|
| 94 | | -#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ |
|---|
| 95 | | - VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) |
|---|
| 96 | | - |
|---|
| 97 | 88 | |
|---|
| 98 | 89 | #include <asm-generic/memory_model.h> |
|---|
| 99 | 90 | #include <asm-generic/getorder.h> |
|---|