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 <mkl at pengutronix.de> --- kexec/arch/arm/kexec-zImage-arm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kexec/arch/arm/kexec-zImage-arm.c b/kexec/arch/arm/kexec-zImage-arm.c index 440ad73..5eb4905 100644 --- a/kexec/arch/arm/kexec-zImage-arm.c +++ b/kexec/arch/arm/kexec-zImage-arm.c @@ -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 -- 1.5.5.1 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.infradead.org/pipermail/kexec/attachments/20080824/7ca9305e/attachment.bin