diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-01-27 23:45:22 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-01-27 23:45:22 +0000 |
commit | 5b35aa5cd29bb111d847b2a2ed18110acbfb1f44 (patch) | |
tree | c7bbaa1137528330d3c74d14056ef7016a52be72 /mm/vmalloc.c | |
parent | 511bcd7c5924ce9e98ad1cb851988f7448dfef0f (diff) |
Merge with Linux 2.3.24.
Diffstat (limited to 'mm/vmalloc.c')
-rw-r--r-- | mm/vmalloc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 1c436af20..0978f544c 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -42,7 +42,7 @@ static inline void free_area_pte(pmd_t * pmd, unsigned long address, unsigned lo __free_page(mem_map + map_nr); continue; } - printk("Whee.. Swapped out page in kernel page table\n"); + printk(KERN_CRIT "Whee.. Swapped out page in kernel page table\n"); } while (address < end); } @@ -96,7 +96,7 @@ static inline int alloc_area_pte(pte_t * pte, unsigned long address, unsigned lo do { struct page * page; if (!pte_none(*pte)) - printk("alloc_area_pte: page already exists\n"); + printk(KERN_ERR "alloc_area_pte: page already exists\n"); page = get_free_highpage(GFP_KERNEL|__GFP_HIGHMEM); if (!page) return -ENOMEM; @@ -184,7 +184,7 @@ void vfree(void * addr) if (!addr) return; if ((PAGE_SIZE-1) & (unsigned long) addr) { - printk("Trying to vfree() bad address (%p)\n", addr); + printk(KERN_ERR "Trying to vfree() bad address (%p)\n", addr); return; } for (p = &vmlist ; (tmp = *p) ; p = &tmp->next) { @@ -195,7 +195,7 @@ void vfree(void * addr) return; } } - printk("Trying to vfree() nonexistent vm area (%p)\n", addr); + printk(KERN_ERR "Trying to vfree() nonexistent vm area (%p)\n", addr); } void * vmalloc_prot(unsigned long size, pgprot_t prot) |