summaryrefslogtreecommitdiff
path: root/kexec/arch/arm/kexec-zImage-arm.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2008-08-24 21:21:36 +0200
committerSimon Horman <horms@verge.net.au>2008-08-27 12:25:40 +1000
commitcfa1ab96374d80f7c355cda30cd6922f96f20405 (patch)
tree613a653add173863c1b197735f11c46ce15a1475 /kexec/arch/arm/kexec-zImage-arm.c
parent76e8efd603bf0134788634d2290490e7e346cca2 (diff)
arm: asm/page.h is no longer exported to userspace
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@pengutronix.de> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/arm/kexec-zImage-arm.c')
-rw-r--r--kexec/arch/arm/kexec-zImage-arm.c2
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