summaryrefslogtreecommitdiff
path: root/kexec/kexec.h
diff options
context:
space:
mode:
authorWANG Chao <chaowang@redhat.com>2014-03-19 16:03:58 +0800
committerSimon Horman <horms@verge.net.au>2014-03-20 12:45:38 +0900
commit4533baa7ce3f7a8bec0635faff8f899122d4c535 (patch)
tree434d4003e7dc8b57e46439c5e2881d632f3213a5 /kexec/kexec.h
parent401e037e5e9527134c594b8923342a69ff38b7cb (diff)
downloadkexec-tools-4533baa7ce3f7a8bec0635faff8f899122d4c535.tar.gz
cleanup: add dbgprint_mem_range function
dbgprint_mem_range is used for printing the given memory range under debugging mode. Signed-off-by: WANG Chao <chaowang@redhat.com> Tested-by: Linn Crosetto <linn@hp.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.h')
-rw-r--r--kexec/kexec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kexec/kexec.h b/kexec/kexec.h
index 2bd6e96..d69bba2 100644
--- a/kexec/kexec.h
+++ b/kexec/kexec.h
@@ -232,6 +232,7 @@ extern int file_types;
#define KEXEC_OPT_STR "h?vdfxluet:p"
+extern void dbgprint_mem_range(const char *prefix, struct memory_range *mr, int nr_mr);
extern void die(const char *fmt, ...)
__attribute__ ((format (printf, 1, 2)));
extern void *xmalloc(size_t size);