| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | | - * SPDX-License-Identifier: GPL-2.0 |
|---|
| 3 | 3 | * Copyright (C) 2005-2017 Andes Technology Corporation |
|---|
| 4 | 4 | */ |
|---|
| 5 | 5 | |
|---|
| .. | .. |
|---|
| 41 | 41 | void copy_page(void *to, void *from); |
|---|
| 42 | 42 | |
|---|
| 43 | 43 | typedef unsigned long pte_t; |
|---|
| 44 | | -typedef unsigned long pmd_t; |
|---|
| 45 | 44 | typedef unsigned long pgd_t; |
|---|
| 46 | 45 | typedef unsigned long pgprot_t; |
|---|
| 47 | 46 | |
|---|
| 48 | 47 | #define pte_val(x) (x) |
|---|
| 49 | | -#define pmd_val(x) (x) |
|---|
| 50 | 48 | #define pgd_val(x) (x) |
|---|
| 51 | 49 | #define pgprot_val(x) (x) |
|---|
| 52 | 50 | |
|---|
| 53 | 51 | #define __pte(x) (x) |
|---|
| 54 | | -#define __pmd(x) (x) |
|---|
| 55 | 52 | #define __pgd(x) (x) |
|---|
| 56 | 53 | #define __pgprot(x) (x) |
|---|
| 57 | 54 | |
|---|
| .. | .. |
|---|
| 61 | 58 | #include <asm-generic/getorder.h> |
|---|
| 62 | 59 | |
|---|
| 63 | 60 | #endif /* !__ASSEMBLY__ */ |
|---|
| 64 | | - |
|---|
| 65 | | -#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ |
|---|
| 66 | | - VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) |
|---|
| 67 | 61 | |
|---|
| 68 | 62 | #endif /* __KERNEL__ */ |
|---|
| 69 | 63 | |
|---|