File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ EXPORT_SYMBOL(verify_compat_iovec);
278278
279279EXPORT_SYMBOL (dump_thread );
280280EXPORT_SYMBOL (dump_fpu );
281- EXPORT_SYMBOL (__pte_alloc_one_kernel );
281+ EXPORT_SYMBOL (pte_alloc_one_kernel );
282282#ifndef CONFIG_SMP
283283EXPORT_SYMBOL (pgt_quicklists );
284284#endif
Original file line number Diff line number Diff line change @@ -1114,7 +1114,7 @@ struct pgtable_cache_struct pgt_quicklists;
11141114#else
11151115#define DC_ALIAS_SHIFT 0
11161116#endif
1117- pte_t * __pte_alloc_one_kernel (struct mm_struct * mm , unsigned long address )
1117+ pte_t * pte_alloc_one_kernel (struct mm_struct * mm , unsigned long address )
11181118{
11191119 struct page * page ;
11201120 unsigned long color ;
Original file line number Diff line number Diff line change @@ -122,17 +122,12 @@ static __inline__ void free_pmd_slow(pmd_t *pmd)
122122#define pmd_populate (MM ,PMD ,PTE_PAGE ) \
123123 pmd_populate_kernel(MM,PMD,page_address(PTE_PAGE))
124124
125- extern pte_t * __pte_alloc_one_kernel (struct mm_struct * mm , unsigned long address );
126-
127- static inline pte_t * pte_alloc_one_kernel (struct mm_struct * mm , unsigned long address )
128- {
129- return __pte_alloc_one_kernel (mm , address );
130- }
125+ extern pte_t * pte_alloc_one_kernel (struct mm_struct * mm , unsigned long address );
131126
132127static inline struct page *
133128pte_alloc_one (struct mm_struct * mm , unsigned long addr )
134129{
135- pte_t * pte = __pte_alloc_one_kernel (mm , addr );
130+ pte_t * pte = pte_alloc_one_kernel (mm , addr );
136131
137132 if (pte )
138133 return virt_to_page (pte );
You can’t perform that action at this time.
0 commit comments