diff options
Diffstat (limited to 'kernel/kexec_core.c')
-rw-r--r-- | kernel/kexec_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kexec_core.c b/kernel/kexec_core.c index bd9f8a03cefa..11b64a63c0f8 100644 --- a/kernel/kexec_core.c +++ b/kernel/kexec_core.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * Version 2. See the file COPYING for more details. | 6 | * Version 2. See the file COPYING for more details. |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #define pr_fmt(fmt) "kexec: " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
10 | 10 | ||
11 | #include <linux/capability.h> | 11 | #include <linux/capability.h> |
12 | #include <linux/mm.h> | 12 | #include <linux/mm.h> |
@@ -1027,7 +1027,7 @@ static int __init crash_notes_memory_init(void) | |||
1027 | 1027 | ||
1028 | crash_notes = __alloc_percpu(size, align); | 1028 | crash_notes = __alloc_percpu(size, align); |
1029 | if (!crash_notes) { | 1029 | if (!crash_notes) { |
1030 | pr_warn("Kexec: Memory allocation for saving cpu register states failed\n"); | 1030 | pr_warn("Memory allocation for saving cpu register states failed\n"); |
1031 | return -ENOMEM; | 1031 | return -ENOMEM; |
1032 | } | 1032 | } |
1033 | return 0; | 1033 | return 0; |