Skip to contentSkip to conversation

<sys/mman.h> is not needed by any kexec/ source

PATCH New Simon Horman 1 participant 1 message Apr 24, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 <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.

kexec/arch/ia64/kexec-elf-ia64.c +0 -1
Index: kexec-tools-testing-merge/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>
kexec/arch/mips/kexec-elf-mips.c +0 -1
Index: kexec-tools-testing-merge/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>
kexec/arch/ppc/kexec-dol-ppc.c +0 -1
Index: kexec-tools-testing-merge/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>
kexec/arch/ppc/kexec-elf-ppc.c +0 -1
Index: kexec-tools-testing-merge/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>
kexec/arch/ppc64/kexec-elf-ppc64.c +0 -1
Index: kexec-tools-testing-merge/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>
kexec/arch/ppc64/kexec-zImage-ppc64.c +0 -1
Index: kexec-tools-testing-merge/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>
kexec/arch/sh/kexec-netbsd-sh.c +0 -1
Index: kexec-tools-testing-merge/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>
kexec/arch/sh/kexec-zImage-sh.c +0 -1
Index: kexec-tools-testing-merge/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>
kexec/arch/x86_64/crashdump-x86_64.c +0 -1
Index: kexec-tools-testing-merge/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"
kexec/arch/x86_64/kexec-elf-x86_64.c +0 -1
Index: kexec-tools-testing-merge/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>

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec