summaryrefslogtreecommitdiff
path: root/kexec
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2008-04-24 11:21:21 +1000
committerSimon Horman <horms@verge.net.au>2008-04-24 11:21:21 +1000
commitd1e7c0fa1f66c74c0f0de9673041a19a1eceb35b (patch)
tree1208a2cd1e01f683d736d6a2404d15e964869c47 /kexec
parentf30c50cca91449460841c1e1bd9ea0e7de46853c (diff)
<sys/mman.h> is not needed by any kexec/ source
This continues the work that Jamey Sharp did on i386 to cover all other architectures. Cc: Jamey Sharp <jamey@thetovacompany.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec')
-rw-r--r--kexec/arch/ia64/kexec-elf-ia64.c1
-rw-r--r--kexec/arch/mips/kexec-elf-mips.c1
-rw-r--r--kexec/arch/ppc/kexec-dol-ppc.c1
-rw-r--r--kexec/arch/ppc/kexec-elf-ppc.c1
-rw-r--r--kexec/arch/ppc64/kexec-elf-ppc64.c1
-rw-r--r--kexec/arch/ppc64/kexec-zImage-ppc64.c1
-rw-r--r--kexec/arch/sh/kexec-netbsd-sh.c1
-rw-r--r--kexec/arch/sh/kexec-zImage-sh.c1
-rw-r--r--kexec/arch/x86_64/crashdump-x86_64.c1
-rw-r--r--kexec/arch/x86_64/kexec-elf-x86_64.c1
10 files changed, 0 insertions, 10 deletions
diff --git a/kexec/arch/ia64/kexec-elf-ia64.c b/kexec/arch/ia64/kexec-elf-ia64.c
index 8f8d239..5245223 100644
--- a/kexec/arch/ia64/kexec-elf-ia64.c
+++ b/kexec/arch/ia64/kexec-elf-ia64.c
@@ -31,7 +31,6 @@
#include <stdint.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <getopt.h>
diff --git a/kexec/arch/mips/kexec-elf-mips.c b/kexec/arch/mips/kexec-elf-mips.c
index 8220829..95695b6 100644
--- a/kexec/arch/mips/kexec-elf-mips.c
+++ b/kexec/arch/mips/kexec-elf-mips.c
@@ -17,7 +17,6 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <getopt.h>
diff --git a/kexec/arch/ppc/kexec-dol-ppc.c b/kexec/arch/ppc/kexec-dol-ppc.c
index 5e7e078..e2a197a 100644
--- a/kexec/arch/ppc/kexec-dol-ppc.c
+++ b/kexec/arch/ppc/kexec-dol-ppc.c
@@ -13,7 +13,6 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <getopt.h>
diff --git a/kexec/arch/ppc/kexec-elf-ppc.c b/kexec/arch/ppc/kexec-elf-ppc.c
index 571349d..530e501 100644
--- a/kexec/arch/ppc/kexec-elf-ppc.c
+++ b/kexec/arch/ppc/kexec-elf-ppc.c
@@ -13,7 +13,6 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <getopt.h>
diff --git a/kexec/arch/ppc64/kexec-elf-ppc64.c b/kexec/arch/ppc64/kexec-elf-ppc64.c
index a8df885..38c5f72 100644
--- a/kexec/arch/ppc64/kexec-elf-ppc64.c
+++ b/kexec/arch/ppc64/kexec-elf-ppc64.c
@@ -27,7 +27,6 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <getopt.h>
diff --git a/kexec/arch/ppc64/kexec-zImage-ppc64.c b/kexec/arch/ppc64/kexec-zImage-ppc64.c
index 3e131e7..c0c5abd 100644
--- a/kexec/arch/ppc64/kexec-zImage-ppc64.c
+++ b/kexec/arch/ppc64/kexec-zImage-ppc64.c
@@ -25,7 +25,6 @@
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <getopt.h>
diff --git a/kexec/arch/sh/kexec-netbsd-sh.c b/kexec/arch/sh/kexec-netbsd-sh.c
index 07c7f26..a9f57b8 100644
--- a/kexec/arch/sh/kexec-netbsd-sh.c
+++ b/kexec/arch/sh/kexec-netbsd-sh.c
@@ -15,7 +15,6 @@
#include <stdint.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <getopt.h>
diff --git a/kexec/arch/sh/kexec-zImage-sh.c b/kexec/arch/sh/kexec-zImage-sh.c
index 93ae08b..35a2a68 100644
--- a/kexec/arch/sh/kexec-zImage-sh.c
+++ b/kexec/arch/sh/kexec-zImage-sh.c
@@ -15,7 +15,6 @@
#include <stdint.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <getopt.h>
diff --git a/kexec/arch/x86_64/crashdump-x86_64.c b/kexec/arch/x86_64/crashdump-x86_64.c
index f40b146..639ba48 100644
--- a/kexec/arch/x86_64/crashdump-x86_64.c
+++ b/kexec/arch/x86_64/crashdump-x86_64.c
@@ -27,7 +27,6 @@
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/mman.h>
#include <unistd.h>
#include "../../kexec.h"
#include "../../kexec-elf.h"
diff --git a/kexec/arch/x86_64/kexec-elf-x86_64.c b/kexec/arch/x86_64/kexec-elf-x86_64.c
index d158769..02fe369 100644
--- a/kexec/arch/x86_64/kexec-elf-x86_64.c
+++ b/kexec/arch/x86_64/kexec-elf-x86_64.c
@@ -25,7 +25,6 @@
#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <getopt.h>