diff options
author | Simon Horman <horms@verge.net.au> | 2012-09-07 10:11:22 +0100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2012-09-12 09:32:22 +0900 |
commit | b3c29620457668f2baf965138e8c4271c8cfb006 (patch) | |
tree | 9fe2c6556d3daf553674c754b7d383abd9372e33 /kexec/arch_reuse_initrd.c | |
parent | ce9d37cff0195e236004fc06b3a3eb6b2dfafefa (diff) | |
download | kexec-tools-b3c29620457668f2baf965138e8c4271c8cfb006.tar.gz |
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 <horms@verge.net.au>
Diffstat (limited to 'kexec/arch_reuse_initrd.c')
-rw-r--r-- | kexec/arch_reuse_initrd.c | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |