fix compilation on arm
Subsystems (2)
PATCH 1/1 fix compilation on arm
Hi,
cross compilation to arm fails with toolchain based on recent new kernel headers, due to mussing asm/page.h, This patch fixes the problem.
cheers, Marc
Signature · 18 lines
Marc Kleine-Budde Phone: +49-231-2826-924 Pengutronix - Linux Solutions for Science and Industry Vertretung West/Dortmund http://www.pengutronix.de From f1786e47eb58f4eec4357ff07d8d009222e6ea7c Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde <[email protected]> Date: Sun, 24 Aug 2008 21:11:05 +0200 Subject: [PATCH] remove "asm/page.h" include, define _XOPEN_SOURCE In recent kernels "asm/page.h" isn't exported to userspace anymore, thus the include is removed. Further this patch defines _XOPEN_SOURCE, in order to use getpagesize. Signed-off-by: Marc Kleine-Budde <[email protected]> --- kexec/arch/arm/kexec-zImage-arm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
(quoted diff) +0 -0
b/kexec/arch/arm/kexec-zImage-arm.c
index 440ad73..5eb4905 100644
kexec/arch/arm/kexec-zImage-arm.c +1 -1
@@ -3,6 +3,7 @@* */ #define _GNU_SOURCE +#define _XOPEN_SOURCE#include <stdio.h> #include <string.h> #include <stdlib.h>
@@ -11,7 +12,6 @@#include <stdint.h> #include <getopt.h> #include <arch/options.h> -#include <asm/page.h> #include "../../kexec.h" #define COMMAND_LINE_SIZE 1024
Signature · 1 line
1.5.5.1
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Simon Horman
AppliedQuoted 4 lines · Marc Kleine-Budde
Hi,
cross compilation to arm fails with toolchain based on recent new kernel headers, due to mussing
asm/page.h, This patch fixes the problem.
Thanks, applied.
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec