PATCH: fix redefinition error for e820entry
Simon Horman
horms at verge.net.au
Thu Feb 6 02:30:41 EST 2014
On Wed, Feb 05, 2014 at 02:38:07PM -0800, Tony Jones wrote:
> At least on our systems, xenctrl.h defines (unguarded) struct e820entry
> Move the (guarded) definition in include/x86/x86-linux.h to below.
>
> Signed-off-by: Tony Jones <tonyj at suse.de>
Thanks, applied.
> ---
> kexec/arch/i386/crashdump-x86.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> --- a/kexec/arch/i386/crashdump-x86.c
> +++ b/kexec/arch/i386/crashdump-x86.c
> @@ -41,12 +41,13 @@
> #include "../../crashdump.h"
> #include "kexec-x86.h"
> #include "crashdump-x86.h"
> -#include "x86-linux-setup.h"
>
> #ifdef HAVE_LIBXENCTRL
> #include <xenctrl.h>
> #endif /* HAVE_LIBXENCTRL */
>
> +#include "x86-linux-setup.h"
> +
> #include <x86/x86-linux.h>
>
> extern struct arch_options_t arch_options;
>
> _______________________________________________
> kexec mailing list
> kexec at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec
>
More information about the kexec
mailing list