summaryrefslogtreecommitdiffstats
path: root/arch/m68k/sun3/dvma.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2016-11-09 15:40:58 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2017-02-12 10:36:51 +0100
commit56bbd86257f899ced7ef9c58210dda4edbd40871 (patch)
treea55105c986ab8582e01ce0a60143f024d13a6472 /arch/m68k/sun3/dvma.c
parent446926f9490342532ff44983cb187c01051174a9 (diff)
downloadlinux-56bbd86257f899ced7ef9c58210dda4edbd40871.tar.bz2
m68k/sun3: Modernize printing of kernel messages
- Convert from printk() to pr_*(), - Add missing continuations, - Do not print nonexistent len variable, - Add missing sysname[] variable, - Correct printf()-style format specifiers. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/sun3/dvma.c')
-rw-r--r--arch/m68k/sun3/dvma.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/m68k/sun3/dvma.c b/arch/m68k/sun3/dvma.c
index d95506e06c2a..ca02ee25894c 100644
--- a/arch/m68k/sun3/dvma.c
+++ b/arch/m68k/sun3/dvma.c
@@ -31,8 +31,7 @@ static unsigned long dvma_page(unsigned long kaddr, unsigned long vaddr)
ptep = pfn_pte(virt_to_pfn(kaddr), PAGE_KERNEL);
pte = pte_val(ptep);
-// printk("dvma_remap: addr %lx -> %lx pte %08lx len %x\n",
-// kaddr, vaddr, pte, len);
+// pr_info("dvma_remap: addr %lx -> %lx pte %08lx\n", kaddr, vaddr, pte);
if(ptelist[(vaddr & 0xff000) >> PAGE_SHIFT] != pte) {
sun3_put_pte(vaddr, pte);
ptelist[(vaddr & 0xff000) >> PAGE_SHIFT] = pte;