diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-26 04:46:23 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-26 21:00:12 +0200 |
commit | 15f59adae001766a2c7f7fe4f196387bb04bcff5 (patch) | |
tree | 941f7a7c38af5783d55560ce303f3432fcffc01b /mm/memory.c | |
parent | mm/allocpercpu.c: make 4 functions static (diff) | |
download | linux-15f59adae001766a2c7f7fe4f196387bb04bcff5.tar.xz linux-15f59adae001766a2c7f7fe4f196387bb04bcff5.zip |
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>
Diffstat (limited to 'mm/memory.c')
-rw-r--r-- | mm/memory.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c index 262e3eb6601a..a8ca04faaea6 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -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", |