summaryrefslogtreecommitdiffstats
path: root/arch/m68k/sun3/dvma.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven2016-11-09 15:40:58 +0100
committerGeert Uytterhoeven2017-02-12 10:36:51 +0100
commit56bbd86257f899ced7ef9c58210dda4edbd40871 (patch)
treea55105c986ab8582e01ce0a60143f024d13a6472 /arch/m68k/sun3/dvma.c
parentm68k/q40: Modernize printing of kernel messages (diff)
downloadkernel-qcow2-linux-56bbd86257f899ced7ef9c58210dda4edbd40871.tar.gz
kernel-qcow2-linux-56bbd86257f899ced7ef9c58210dda4edbd40871.tar.xz
kernel-qcow2-linux-56bbd86257f899ced7ef9c58210dda4edbd40871.zip
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;