summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-08-04 20:07:41 +0200
committerHelge Deller <deller@gmx.de>2017-08-22 16:34:33 +0200
commit24587380f61d20e36662fbd4d938431e33e3eda2 (patch)
treecea71f1c3f4fb40c49d4e54831bebac9b8f38463 /arch/parisc
parentLinux 4.13-rc6 (diff)
downloadlinux-24587380f61d20e36662fbd4d938431e33e3eda2.tar.xz
linux-24587380f61d20e36662fbd4d938431e33e3eda2.zip
parisc: Add MADV_HWPOISON and MADV_SOFT_OFFLINE
Add the missing MADV_HWPOISON (100) and MADV_SOFT_OFFLINE (101) defines which are needed for an upcoming patch which adds page-deallocation for parisc. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/include/uapi/asm/mman.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/parisc/include/uapi/asm/mman.h b/arch/parisc/include/uapi/asm/mman.h
index 5979745815a5..2e7b8c2431a3 100644
--- a/arch/parisc/include/uapi/asm/mman.h
+++ b/arch/parisc/include/uapi/asm/mman.h
@@ -60,6 +60,9 @@
overrides the coredump filter bits */
#define MADV_DODUMP 70 /* Clear the MADV_NODUMP flag */
+#define MADV_HWPOISON 100 /* poison a page for testing */
+#define MADV_SOFT_OFFLINE 101 /* soft offline page for testing */
+
/* compatibility flags */
#define MAP_FILE 0
#define MAP_VARIABLE 0