File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ static inline pteval_t pte_flags(pte_t pte)
478
478
479
479
unsigned long cachemode2protval (enum page_cache_mode pcm );
480
480
481
- static inline unsigned long protval_4k_2_large (unsigned long val )
481
+ static inline pgprotval_t protval_4k_2_large (pgprotval_t val )
482
482
{
483
483
return (val & ~(_PAGE_PAT | _PAGE_PAT_LARGE )) |
484
484
((val & _PAGE_PAT ) << (_PAGE_BIT_PAT_LARGE - _PAGE_BIT_PAT ));
@@ -487,7 +487,7 @@ static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot)
487
487
{
488
488
return __pgprot (protval_4k_2_large (pgprot_val (pgprot )));
489
489
}
490
- static inline unsigned long protval_large_2_4k (unsigned long val )
490
+ static inline pgprotval_t protval_large_2_4k (pgprotval_t val )
491
491
{
492
492
return (val & ~(_PAGE_PAT | _PAGE_PAT_LARGE )) |
493
493
((val & _PAGE_PAT_LARGE ) >>
You can’t perform that action at this time.
0 commit comments