From b3c29620457668f2baf965138e8c4271c8cfb006 Mon Sep 17 00:00:00 2001 From: Simon Horman Date: Fri, 7 Sep 2012 10:11:22 +0100 Subject: fs2dt: Add a generic copy of fs2dt The motivation for this is to remove duplicated code by sharing the fs2dt between different architectures. The code added by this patch is very close to the code currently used by ppc64, and thus migrating that architecture should not be difficult. The 32bit powerpc code is a little different and thus more care is needed when migrating that architecture to this code. Unfortunately I do not have any powerpc equipment available to test this code. Signed-off-by: Simon Horman --- kexec/arch_reuse_initrd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kexec/arch_reuse_initrd.c') diff --git a/kexec/arch_reuse_initrd.c b/kexec/arch_reuse_initrd.c index 477a76d..b92b8d8 100644 --- a/kexec/arch_reuse_initrd.c +++ b/kexec/arch_reuse_initrd.c @@ -1,5 +1,7 @@ #include "kexec.h" +unsigned char reuse_initrd = 0; + void arch_reuse_initrd(void) { die("--reuseinitrd not implemented on this architecture\n"); -- cgit v1.2.1