about summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
authorTrutz Behn <me@trutz.be>2015-01-28 18:46:52 +0100
committerRich Felker <dalias@aerifal.cx>2015-01-30 22:02:23 -0500
commit2d67ae923d11d766d9a6cea714fa487b52579f6a (patch)
tree58a14d50d8ccd612be1720085a3d26a29b597648 /arch
parentc7b05bc81732e9471e8f61e2dc48ff590572724e (diff)
downloadmusl-2d67ae923d11d766d9a6cea714fa487b52579f6a.tar.gz
musl-2d67ae923d11d766d9a6cea714fa487b52579f6a.tar.xz
musl-2d67ae923d11d766d9a6cea714fa487b52579f6a.zip
move MREMAP_MAYMOVE and MREMAP_FIXED out of bits
the definitions are generic for all kernel archs. exposure of these
macros now only occurs on the same feature test as for the function
accepting them, which is believed to be more correct.
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/bits/mman.h3
-rw-r--r--arch/i386/bits/mman.h3
-rw-r--r--arch/microblaze/bits/mman.h3
-rw-r--r--arch/mips/bits/mman.h3
-rw-r--r--arch/or1k/bits/mman.h3
-rw-r--r--arch/powerpc/bits/mman.h3
-rw-r--r--arch/sh/bits/mman.h3
-rw-r--r--arch/x32/bits/mman.h3
-rw-r--r--arch/x86_64/bits/mman.h3
9 files changed, 0 insertions, 27 deletions
diff --git a/arch/arm/bits/mman.h b/arch/arm/bits/mman.h
index 8c4110f1..cc854aae 100644
--- a/arch/arm/bits/mman.h
+++ b/arch/arm/bits/mman.h
@@ -55,7 +55,4 @@
 #define MADV_DODUMP      17
 #define MADV_HWPOISON    100
 #define MADV_SOFT_OFFLINE 101
-
-#define MREMAP_MAYMOVE  1
-#define MREMAP_FIXED    2
 #endif
diff --git a/arch/i386/bits/mman.h b/arch/i386/bits/mman.h
index add63855..0f53acb7 100644
--- a/arch/i386/bits/mman.h
+++ b/arch/i386/bits/mman.h
@@ -56,7 +56,4 @@
 #define MADV_DODUMP      17
 #define MADV_HWPOISON    100
 #define MADV_SOFT_OFFLINE 101
-
-#define MREMAP_MAYMOVE  1
-#define MREMAP_FIXED    2
 #endif
diff --git a/arch/microblaze/bits/mman.h b/arch/microblaze/bits/mman.h
index 8c4110f1..cc854aae 100644
--- a/arch/microblaze/bits/mman.h
+++ b/arch/microblaze/bits/mman.h
@@ -55,7 +55,4 @@
 #define MADV_DODUMP      17
 #define MADV_HWPOISON    100
 #define MADV_SOFT_OFFLINE 101
-
-#define MREMAP_MAYMOVE  1
-#define MREMAP_FIXED    2
 #endif
diff --git a/arch/mips/bits/mman.h b/arch/mips/bits/mman.h
index ac8dd5e5..3125fc2b 100644
--- a/arch/mips/bits/mman.h
+++ b/arch/mips/bits/mman.h
@@ -54,7 +54,4 @@
 #define MADV_DONTDUMP    16
 #define MADV_DODUMP      17
 #define MADV_HWPOISON    100
-
-#define MREMAP_MAYMOVE  1
-#define MREMAP_FIXED    2
 #endif
diff --git a/arch/or1k/bits/mman.h b/arch/or1k/bits/mman.h
index 8c4110f1..cc854aae 100644
--- a/arch/or1k/bits/mman.h
+++ b/arch/or1k/bits/mman.h
@@ -55,7 +55,4 @@
 #define MADV_DODUMP      17
 #define MADV_HWPOISON    100
 #define MADV_SOFT_OFFLINE 101
-
-#define MREMAP_MAYMOVE  1
-#define MREMAP_FIXED    2
 #endif
diff --git a/arch/powerpc/bits/mman.h b/arch/powerpc/bits/mman.h
index 15e3049e..fe8de2b9 100644
--- a/arch/powerpc/bits/mman.h
+++ b/arch/powerpc/bits/mman.h
@@ -55,7 +55,4 @@
 #define MADV_DODUMP      17
 #define MADV_HWPOISON    100
 #define MADV_SOFT_OFFLINE 101
-
-#define MREMAP_MAYMOVE  1
-#define MREMAP_FIXED    2
 #endif
diff --git a/arch/sh/bits/mman.h b/arch/sh/bits/mman.h
index f199f4b4..f6fc98f0 100644
--- a/arch/sh/bits/mman.h
+++ b/arch/sh/bits/mman.h
@@ -56,7 +56,4 @@
 #define MADV_DODUMP      17
 #define MADV_HWPOISON    100
 #define MADV_SOFT_OFFLINE 101
-
-#define MREMAP_MAYMOVE  1
-#define MREMAP_FIXED    2
 #endif
diff --git a/arch/x32/bits/mman.h b/arch/x32/bits/mman.h
index dcab47a4..846b7eae 100644
--- a/arch/x32/bits/mman.h
+++ b/arch/x32/bits/mman.h
@@ -56,7 +56,4 @@
 #define MADV_DODUMP      17
 #define MADV_HWPOISON    100
 #define MADV_SOFT_OFFLINE 101
-
-#define MREMAP_MAYMOVE  1
-#define MREMAP_FIXED    2
 #endif
diff --git a/arch/x86_64/bits/mman.h b/arch/x86_64/bits/mman.h
index dcab47a4..846b7eae 100644
--- a/arch/x86_64/bits/mman.h
+++ b/arch/x86_64/bits/mman.h
@@ -56,7 +56,4 @@
 #define MADV_DODUMP      17
 #define MADV_HWPOISON    100
 #define MADV_SOFT_OFFLINE 101
-
-#define MREMAP_MAYMOVE  1
-#define MREMAP_FIXED    2
 #endif