@@ -50,8 +50,6 @@ Change-Id: I1a17be3ae926f721f7b17ea1539e5c39e8c4f9a8
50
50
include/linux/pgtable.h | 4 ++--
51
51
5 files changed, 17 insertions(+), 4 deletions(-)
52
52
53
- diff --git a/arch/Kconfig b/arch/Kconfig
54
- index 8b311e400ec1..bf19a84fffa2 100644
55
53
--- a/arch/Kconfig
56
54
+++ b/arch/Kconfig
57
55
@@ -1418,6 +1418,14 @@ config DYNAMIC_SIGFRAME
@@ -69,8 +67,6 @@ index 8b311e400ec1..bf19a84fffa2 100644
69
67
source "kernel/gcov/Kconfig"
70
68
71
69
source "scripts/gcc-plugins/Kconfig"
72
- diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
73
- index f9920f1341c8..674d694a665e 100644
74
70
--- a/arch/x86/Kconfig
75
71
+++ b/arch/x86/Kconfig
76
72
@@ -85,6 +85,7 @@ config X86
@@ -81,11 +77,9 @@ index f9920f1341c8..674d694a665e 100644
81
77
select ARCH_HAS_UACCESS_FLUSHCACHE if X86_64
82
78
select ARCH_HAS_COPY_MC if X86_64
83
79
select ARCH_HAS_SET_MEMORY
84
- diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h
85
- index dc5f7d8ef68a..5059799bebe3 100644
86
80
--- a/arch/x86/include/asm/pgtable.h
87
81
+++ b/arch/x86/include/asm/pgtable.h
88
- @@ -815,7 +815,8 @@ static inline unsigned long pmd_page_vaddr(pmd_t pmd)
82
+ @@ -815,7 +815,8 @@ static inline unsigned long pmd_page_vad
89
83
90
84
static inline int pmd_bad(pmd_t pmd)
91
85
{
@@ -95,11 +89,9 @@ index dc5f7d8ef68a..5059799bebe3 100644
95
89
}
96
90
97
91
static inline unsigned long pages_to_mb(unsigned long npg)
98
- diff --git a/arch/x86/mm/pgtable.c b/arch/x86/mm/pgtable.c
99
- index a932d7712d85..8525f2876fb4 100644
100
92
--- a/arch/x86/mm/pgtable.c
101
93
+++ b/arch/x86/mm/pgtable.c
102
- @@ -550,7 +550,7 @@ int ptep_test_and_clear_young(struct vm_area_struct *vma,
94
+ @@ -550,7 +550,7 @@ int ptep_test_and_clear_young(struct vm_
103
95
return ret;
104
96
}
105
97
@@ -108,7 +100,7 @@ index a932d7712d85..8525f2876fb4 100644
108
100
int pmdp_test_and_clear_young(struct vm_area_struct *vma,
109
101
unsigned long addr, pmd_t *pmdp)
110
102
{
111
- @@ -562,6 +562,9 @@ int pmdp_test_and_clear_young(struct vm_area_struct *vma,
103
+ @@ -562,6 +562,9 @@ int pmdp_test_and_clear_young(struct vm_
112
104
113
105
return ret;
114
106
}
@@ -118,11 +110,9 @@ index a932d7712d85..8525f2876fb4 100644
118
110
int pudp_test_and_clear_young(struct vm_area_struct *vma,
119
111
unsigned long addr, pud_t *pudp)
120
112
{
121
- diff --git a/include/linux/pgtable.h b/include/linux/pgtable.h
122
- index 95f408df4695..d9095251bffd 100644
123
113
--- a/include/linux/pgtable.h
124
114
+++ b/include/linux/pgtable.h
125
- @@ -213,7 +213,7 @@ static inline int ptep_test_and_clear_young(struct vm_area_struct *vma,
115
+ @@ -213,7 +213,7 @@ static inline int ptep_test_and_clear_yo
126
116
#endif
127
117
128
118
#ifndef __HAVE_ARCH_PMDP_TEST_AND_CLEAR_YOUNG
@@ -131,7 +121,7 @@ index 95f408df4695..d9095251bffd 100644
131
121
static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma,
132
122
unsigned long address,
133
123
pmd_t *pmdp)
134
- @@ -234,7 +234,7 @@ static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma,
124
+ @@ -234,7 +234,7 @@ static inline int pmdp_test_and_clear_yo
135
125
BUILD_BUG();
136
126
return 0;
137
127
}
@@ -140,6 +130,3 @@ index 95f408df4695..d9095251bffd 100644
140
130
#endif
141
131
142
132
#ifndef __HAVE_ARCH_PTEP_CLEAR_YOUNG_FLUSH
143
- - -
144
- 2.17.1
145
-
0 commit comments