summaryrefslogtreecommitdiff
path: root/kexec/kexec.h
diff options
context:
space:
mode:
authorJamey Sharp <jamey@thetovacompany.com>2008-04-22 16:21:10 -0700
committerSimon Horman <horms@verge.net.au>2008-04-24 11:21:31 +1000
commiteb5c1bab95722a56cc44beddd1eba8dd9470c82f (patch)
tree8a6858a73812bfd48c4f9a515d96b219126a811a /kexec/kexec.h
parentd1e7c0fa1f66c74c0f0de9673041a19a1eceb35b (diff)
downloadkexec-tools-eb5c1bab95722a56cc44beddd1eba8dd9470c82f.tar.gz
Replace weak definitions with source filename overriding.
This reduces the kexec-tools' demands on the capabilities of the toolchain, and improves standards conformance, without really changing maintenance complexity. Signed-off-by: Jamey Sharp <jamey@thetovacompany.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.h')
-rw-r--r--kexec/kexec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kexec/kexec.h b/kexec/kexec.h
index 9649ec7..2d3a748 100644
--- a/kexec/kexec.h
+++ b/kexec/kexec.h
@@ -4,6 +4,7 @@
#include "config.h"
#include <sys/types.h>
+#include <stdio.h>
#include <stdint.h>
#define USE_BSD
#include <byteswap.h>
@@ -206,6 +207,7 @@ extern unsigned long add_buffer_phys_virt(struct kexec_info *info,
const void *buf, unsigned long bufsz, unsigned long memsz,
unsigned long buf_align, unsigned long buf_min, unsigned long buf_max,
int buf_end, int phys);
+extern void arch_reuse_initrd(void);
extern unsigned char purgatory[];
extern size_t purgatory_size;