mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdump: Include dfi_mem_chunk.h only if required
Don't include dfi_mem_chunk.h in dfi.h because not every module including dfi.h needs it. Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
d371ba0db8
commit
353c23a157
@@ -18,8 +18,6 @@
|
||||
#include "lib/zt_common.h"
|
||||
#include "lib/util_list.h"
|
||||
|
||||
#include "dfi_mem_chunk.h"
|
||||
|
||||
/*
|
||||
* CPU info functions and definitions
|
||||
*/
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "zgetdump.h"
|
||||
#include "df_s390.h"
|
||||
#include "dfi.h"
|
||||
#include "dfi_mem_chunk.h"
|
||||
|
||||
/*
|
||||
* Add live dump magic to buffer
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "zg.h"
|
||||
#include "df_elf.h"
|
||||
#include "dfi.h"
|
||||
#include "dfi_mem_chunk.h"
|
||||
|
||||
/*
|
||||
* Read memory for given memory chunk
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "zgetdump.h"
|
||||
#include "zg.h"
|
||||
#include "dfi.h"
|
||||
#include "dfi_mem_chunk.h"
|
||||
|
||||
struct df_kdump_hdr {
|
||||
char signature[8];
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include "zg.h"
|
||||
#include "df_lkcd.h"
|
||||
#include "dfi.h"
|
||||
#include "dfi_mem_chunk.h"
|
||||
|
||||
#define MEM_HOLE_SIZE_MIN (1024 * 1024)
|
||||
#define IDX_KIB 64 /* One index entry per IDX_KIB */
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "df_s390.h"
|
||||
#include "dfi.h"
|
||||
#include "dfi_s390mv.h"
|
||||
#include "dfi_mem_chunk.h"
|
||||
|
||||
/*
|
||||
* Volume information
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "zgetdump.h"
|
||||
#include "df_s390.h"
|
||||
#include "dfi.h"
|
||||
#include "dfi_mem_chunk.h"
|
||||
|
||||
#define TAPE_BLK_SIZE 32768 /* Defined by zipl tape dumper */
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
#include "df_elf.h"
|
||||
#include "dfi.h"
|
||||
#include "dfi_mem_chunk.h"
|
||||
#include "dfi_vmcoreinfo.h"
|
||||
#include "dfo.h"
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include "df_s390.h"
|
||||
#include "dfi_mem_chunk.h"
|
||||
#include "dfo.h"
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user