diff options
author | Michael Holzheu <holzheu@linux.vnet.ibm.com> | 2012-05-18 08:29:19 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-05-23 11:06:50 -0400 |
commit | d7b7cdea06360d3151cc8118751b3b82519c4ce0 (patch) | |
tree | bf92c22c6e7d76df82a6f897579418cb0f49a9b6 /arch/s390/include/asm/os_info.h | |
parent | 6101167727932a929e37fb8a6eeb68bdbf54d58e (diff) |
s390/kernel: Remove OS info init function call and diag 308 for kdump
Because of a design change for stand-alone kdump the function that
was done by the OS info init function is moved to the boot loader
code. This has two implications that are implemented by this patch:
a) The OS info init function is no longer called by the kernel
b) The diag 308 subcode 1 reset is no longer done by the kdump boot code.
This is necessary because otherwise the operation that is done now
by the boot loader would be reversed. For the normal kexec based
kdump mechansim the reset is already done by the kdump trigger code
(e.g. panic or PSW restart).
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/os_info.h')
-rw-r--r-- | arch/s390/include/asm/os_info.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/s390/include/asm/os_info.h b/arch/s390/include/asm/os_info.h index d07518af09ea..295f2c4f1c96 100644 --- a/arch/s390/include/asm/os_info.h +++ b/arch/s390/include/asm/os_info.h | |||
@@ -13,7 +13,6 @@ | |||
13 | 13 | ||
14 | #define OS_INFO_VMCOREINFO 0 | 14 | #define OS_INFO_VMCOREINFO 0 |
15 | #define OS_INFO_REIPL_BLOCK 1 | 15 | #define OS_INFO_REIPL_BLOCK 1 |
16 | #define OS_INFO_INIT_FN 2 | ||
17 | 16 | ||
18 | struct os_info_entry { | 17 | struct os_info_entry { |
19 | u64 addr; | 18 | u64 addr; |
@@ -28,8 +27,8 @@ struct os_info { | |||
28 | u16 version_minor; | 27 | u16 version_minor; |
29 | u64 crashkernel_addr; | 28 | u64 crashkernel_addr; |
30 | u64 crashkernel_size; | 29 | u64 crashkernel_size; |
31 | struct os_info_entry entry[3]; | 30 | struct os_info_entry entry[2]; |
32 | u8 reserved[4004]; | 31 | u8 reserved[4024]; |
33 | } __packed; | 32 | } __packed; |
34 | 33 | ||
35 | void os_info_init(void); | 34 | void os_info_init(void); |