@@ -135,7 +135,7 @@ void __contpte_try_fold(struct mm_struct *mm, unsigned long addr,
135
135
pte = pte_mkcont (pte );
136
136
contpte_convert (mm , addr , orig_ptep , pte );
137
137
}
138
- EXPORT_SYMBOL (__contpte_try_fold );
138
+ EXPORT_SYMBOL_GPL (__contpte_try_fold );
139
139
140
140
void __contpte_try_unfold (struct mm_struct * mm , unsigned long addr ,
141
141
pte_t * ptep , pte_t pte )
@@ -150,7 +150,7 @@ void __contpte_try_unfold(struct mm_struct *mm, unsigned long addr,
150
150
pte = pte_mknoncont (pte );
151
151
contpte_convert (mm , addr , ptep , pte );
152
152
}
153
- EXPORT_SYMBOL (__contpte_try_unfold );
153
+ EXPORT_SYMBOL_GPL (__contpte_try_unfold );
154
154
155
155
pte_t contpte_ptep_get (pte_t * ptep , pte_t orig_pte )
156
156
{
@@ -178,7 +178,7 @@ pte_t contpte_ptep_get(pte_t *ptep, pte_t orig_pte)
178
178
179
179
return orig_pte ;
180
180
}
181
- EXPORT_SYMBOL (contpte_ptep_get );
181
+ EXPORT_SYMBOL_GPL (contpte_ptep_get );
182
182
183
183
pte_t contpte_ptep_get_lockless (pte_t * orig_ptep )
184
184
{
@@ -231,7 +231,7 @@ pte_t contpte_ptep_get_lockless(pte_t *orig_ptep)
231
231
232
232
return orig_pte ;
233
233
}
234
- EXPORT_SYMBOL (contpte_ptep_get_lockless );
234
+ EXPORT_SYMBOL_GPL (contpte_ptep_get_lockless );
235
235
236
236
void contpte_set_ptes (struct mm_struct * mm , unsigned long addr ,
237
237
pte_t * ptep , pte_t pte , unsigned int nr )
@@ -274,15 +274,15 @@ void contpte_set_ptes(struct mm_struct *mm, unsigned long addr,
274
274
275
275
} while (addr != end );
276
276
}
277
- EXPORT_SYMBOL (contpte_set_ptes );
277
+ EXPORT_SYMBOL_GPL (contpte_set_ptes );
278
278
279
279
void contpte_clear_full_ptes (struct mm_struct * mm , unsigned long addr ,
280
280
pte_t * ptep , unsigned int nr , int full )
281
281
{
282
282
contpte_try_unfold_partial (mm , addr , ptep , nr );
283
283
__clear_full_ptes (mm , addr , ptep , nr , full );
284
284
}
285
- EXPORT_SYMBOL (contpte_clear_full_ptes );
285
+ EXPORT_SYMBOL_GPL (contpte_clear_full_ptes );
286
286
287
287
pte_t contpte_get_and_clear_full_ptes (struct mm_struct * mm ,
288
288
unsigned long addr , pte_t * ptep ,
@@ -291,7 +291,7 @@ pte_t contpte_get_and_clear_full_ptes(struct mm_struct *mm,
291
291
contpte_try_unfold_partial (mm , addr , ptep , nr );
292
292
return __get_and_clear_full_ptes (mm , addr , ptep , nr , full );
293
293
}
294
- EXPORT_SYMBOL (contpte_get_and_clear_full_ptes );
294
+ EXPORT_SYMBOL_GPL (contpte_get_and_clear_full_ptes );
295
295
296
296
int contpte_ptep_test_and_clear_young (struct vm_area_struct * vma ,
297
297
unsigned long addr , pte_t * ptep )
@@ -316,7 +316,7 @@ int contpte_ptep_test_and_clear_young(struct vm_area_struct *vma,
316
316
317
317
return young ;
318
318
}
319
- EXPORT_SYMBOL (contpte_ptep_test_and_clear_young );
319
+ EXPORT_SYMBOL_GPL (contpte_ptep_test_and_clear_young );
320
320
321
321
int contpte_ptep_clear_flush_young (struct vm_area_struct * vma ,
322
322
unsigned long addr , pte_t * ptep )
@@ -337,7 +337,7 @@ int contpte_ptep_clear_flush_young(struct vm_area_struct *vma,
337
337
338
338
return young ;
339
339
}
340
- EXPORT_SYMBOL (contpte_ptep_clear_flush_young );
340
+ EXPORT_SYMBOL_GPL (contpte_ptep_clear_flush_young );
341
341
342
342
void contpte_wrprotect_ptes (struct mm_struct * mm , unsigned long addr ,
343
343
pte_t * ptep , unsigned int nr )
@@ -355,7 +355,7 @@ void contpte_wrprotect_ptes(struct mm_struct *mm, unsigned long addr,
355
355
contpte_try_unfold_partial (mm , addr , ptep , nr );
356
356
__wrprotect_ptes (mm , addr , ptep , nr );
357
357
}
358
- EXPORT_SYMBOL (contpte_wrprotect_ptes );
358
+ EXPORT_SYMBOL_GPL (contpte_wrprotect_ptes );
359
359
360
360
int contpte_ptep_set_access_flags (struct vm_area_struct * vma ,
361
361
unsigned long addr , pte_t * ptep ,
@@ -401,4 +401,4 @@ int contpte_ptep_set_access_flags(struct vm_area_struct *vma,
401
401
402
402
return 1 ;
403
403
}
404
- EXPORT_SYMBOL (contpte_ptep_set_access_flags );
404
+ EXPORT_SYMBOL_GPL (contpte_ptep_set_access_flags );
0 commit comments