summaryrefslogtreecommitdiff
path: root/kexec/arch_reuse_initrd.c
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/arch_reuse_initrd.c
parentd1e7c0fa1f66c74c0f0de9673041a19a1eceb35b (diff)
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/arch_reuse_initrd.c')
-rw-r--r--kexec/arch_reuse_initrd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/kexec/arch_reuse_initrd.c b/kexec/arch_reuse_initrd.c
new file mode 100644
index 0000000..477a76d
--- /dev/null
+++ b/kexec/arch_reuse_initrd.c
@@ -0,0 +1,6 @@
+#include "kexec.h"
+
+void arch_reuse_initrd(void)
+{
+ die("--reuseinitrd not implemented on this architecture\n");
+}