diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2012-08-27 09:50:29 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-09-26 09:44:54 -0400 |
commit | 48a8ca03f8fd49a4d0c0c8843d4f5a7008dc2656 (patch) | |
tree | f37ca12eb5023298aa045b19d019310b611c9215 /arch/s390 | |
parent | 1c725922dd8274b6e0b370ad33cfaef9013fd70b (diff) |
s390/kexec: move machine_crash_shutdown() to machine_kexec.c
machine_crash_shutdown() was the only function in crash.c.
So move the function and delete one file.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/Makefile | 2 | ||||
-rw-r--r-- | arch/s390/kernel/crash.c | 14 | ||||
-rw-r--r-- | arch/s390/kernel/machine_kexec.c | 4 |
3 files changed, 5 insertions, 15 deletions
diff --git a/arch/s390/kernel/Makefile b/arch/s390/kernel/Makefile index 86b8247134c1..9a111b621f4e 100644 --- a/arch/s390/kernel/Makefile +++ b/arch/s390/kernel/Makefile | |||
@@ -52,7 +52,7 @@ obj-$(CONFIG_PERF_EVENTS) += perf_event.o perf_cpum_cf.o | |||
52 | obj-$(CONFIG_64BIT) += cache.o | 52 | obj-$(CONFIG_64BIT) += cache.o |
53 | 53 | ||
54 | # Kexec part | 54 | # Kexec part |
55 | S390_KEXEC_OBJS := machine_kexec.o crash.o | 55 | S390_KEXEC_OBJS := machine_kexec.o |
56 | S390_KEXEC_OBJS += $(if $(CONFIG_64BIT),relocate_kernel64.o,relocate_kernel.o) | 56 | S390_KEXEC_OBJS += $(if $(CONFIG_64BIT),relocate_kernel64.o,relocate_kernel.o) |
57 | obj-$(CONFIG_KEXEC) += $(S390_KEXEC_OBJS) | 57 | obj-$(CONFIG_KEXEC) += $(S390_KEXEC_OBJS) |
58 | 58 | ||
diff --git a/arch/s390/kernel/crash.c b/arch/s390/kernel/crash.c deleted file mode 100644 index 3819153de8bd..000000000000 --- a/arch/s390/kernel/crash.c +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright IBM Corp. 2005 | ||
3 | * | ||
4 | * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com> | ||
5 | * | ||
6 | */ | ||
7 | |||
8 | #include <linux/threads.h> | ||
9 | #include <linux/kexec.h> | ||
10 | #include <linux/reboot.h> | ||
11 | |||
12 | void machine_crash_shutdown(struct pt_regs *regs) | ||
13 | { | ||
14 | } | ||
diff --git a/arch/s390/kernel/machine_kexec.c b/arch/s390/kernel/machine_kexec.c index 493304bdf1c7..0d5063e0ff79 100644 --- a/arch/s390/kernel/machine_kexec.c +++ b/arch/s390/kernel/machine_kexec.c | |||
@@ -191,6 +191,10 @@ void machine_shutdown(void) | |||
191 | { | 191 | { |
192 | } | 192 | } |
193 | 193 | ||
194 | void machine_crash_shutdown(struct pt_regs *regs) | ||
195 | { | ||
196 | } | ||
197 | |||
194 | /* | 198 | /* |
195 | * Do normal kexec | 199 | * Do normal kexec |
196 | */ | 200 | */ |