make mm/memory.c:print_bad_pte() static
This patch makes the needlessly global print_bad_pte() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
9d8fddfb17
commit
15f59adae0
@ -374,7 +374,8 @@ static inline void add_mm_rss(struct mm_struct *mm, int file_rss, int anon_rss)
|
||||
*
|
||||
* The calling function must still handle the error.
|
||||
*/
|
||||
void print_bad_pte(struct vm_area_struct *vma, pte_t pte, unsigned long vaddr)
|
||||
static void print_bad_pte(struct vm_area_struct *vma, pte_t pte,
|
||||
unsigned long vaddr)
|
||||
{
|
||||
printk(KERN_ERR "Bad pte = %08llx, process = %s, "
|
||||
"vm_flags = %lx, vaddr = %lx\n",
|
||||
|
Reference in New Issue
Block a user