diff options
author | Helge Deller <deller@gmx.de> | 2017-08-04 21:07:41 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2017-08-22 17:34:33 +0300 |
commit | 24587380f61d20e36662fbd4d938431e33e3eda2 (patch) | |
tree | cea71f1c3f4fb40c49d4e54831bebac9b8f38463 /tools | |
parent | 14ccee78fc82f5512908f4424f541549a5705b89 (diff) | |
download | linux-24587380f61d20e36662fbd4d938431e33e3eda2.tar.xz |
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 'tools')
-rw-r--r-- | tools/arch/parisc/include/uapi/asm/mman.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/arch/parisc/include/uapi/asm/mman.h b/tools/arch/parisc/include/uapi/asm/mman.h index 03d8d5b7ae7f..286c0bd74573 100644 --- a/tools/arch/parisc/include/uapi/asm/mman.h +++ b/tools/arch/parisc/include/uapi/asm/mman.h @@ -36,9 +36,7 @@ #define PROT_READ 0x1 #define PROT_SEM 0x8 #define PROT_WRITE 0x2 -/* MADV_HWPOISON is undefined on parisc, fix it for perf */ #define MADV_HWPOISON 100 -/* MADV_SOFT_OFFLINE is undefined on parisc, fix it for perf */ #define MADV_SOFT_OFFLINE 101 /* MAP_32BIT is undefined on parisc, fix it for perf */ #define MAP_32BIT 0 |