diff options
Diffstat (limited to 'arch/m68k/kernel/module.c')
-rw-r--r-- | arch/m68k/kernel/module.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/m68k/kernel/module.c b/arch/m68k/kernel/module.c index eb46fd6038ca..aaac2da318ff 100644 --- a/arch/m68k/kernel/module.c +++ b/arch/m68k/kernel/module.c | |||
@@ -12,9 +12,9 @@ | |||
12 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
13 | 13 | ||
14 | #if 0 | 14 | #if 0 |
15 | #define DEBUGP printk | 15 | #define DEBUGP(fmt, ...) printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) |
16 | #else | 16 | #else |
17 | #define DEBUGP(fmt...) | 17 | #define DEBUGP(fmt, ...) no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | #ifdef CONFIG_MODULES | 20 | #ifdef CONFIG_MODULES |
@@ -51,8 +51,8 @@ int apply_relocate(Elf32_Shdr *sechdrs, | |||
51 | *location += sym->st_value - (uint32_t)location; | 51 | *location += sym->st_value - (uint32_t)location; |
52 | break; | 52 | break; |
53 | default: | 53 | default: |
54 | printk(KERN_ERR "module %s: Unknown relocation: %u\n", | 54 | pr_err("module %s: Unknown relocation: %u\n", me->name, |
55 | me->name, ELF32_R_TYPE(rel[i].r_info)); | 55 | ELF32_R_TYPE(rel[i].r_info)); |
56 | return -ENOEXEC; | 56 | return -ENOEXEC; |
57 | } | 57 | } |
58 | } | 58 | } |
@@ -91,8 +91,8 @@ int apply_relocate_add(Elf32_Shdr *sechdrs, | |||
91 | *location = rel[i].r_addend + sym->st_value - (uint32_t)location; | 91 | *location = rel[i].r_addend + sym->st_value - (uint32_t)location; |
92 | break; | 92 | break; |
93 | default: | 93 | default: |
94 | printk(KERN_ERR "module %s: Unknown relocation: %u\n", | 94 | pr_err("module %s: Unknown relocation: %u\n", me->name, |
95 | me->name, ELF32_R_TYPE(rel[i].r_info)); | 95 | ELF32_R_TYPE(rel[i].r_info)); |
96 | return -ENOEXEC; | 96 | return -ENOEXEC; |
97 | } | 97 | } |
98 | } | 98 | } |