Skip to content

Commit dcbf0d2

Browse files
committed
parisc: Drop unused MADV_xxxK_PAGES flags from asm/mman.h
Drop the MADV_xxK_PAGES flags, which were never used and were from a proposed API which was never integrated into the generic Linux kernel code. Cc: stable@vger.kernel.org Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 1e208ae commit dcbf0d2

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

  • arch/parisc/include/uapi/asm

arch/parisc/include/uapi/asm/mman.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,6 @@
4646
#define MADV_DONTFORK 10 /* don't inherit across fork */
4747
#define MADV_DOFORK 11 /* do inherit across fork */
4848

49-
/* The range 12-64 is reserved for page size specification. */
50-
#define MADV_4K_PAGES 12 /* Use 4K pages */
51-
#define MADV_16K_PAGES 14 /* Use 16K pages */
52-
#define MADV_64K_PAGES 16 /* Use 64K pages */
53-
#define MADV_256K_PAGES 18 /* Use 256K pages */
54-
#define MADV_1M_PAGES 20 /* Use 1 Megabyte pages */
55-
#define MADV_4M_PAGES 22 /* Use 4 Megabyte pages */
56-
#define MADV_16M_PAGES 24 /* Use 16 Megabyte pages */
57-
#define MADV_64M_PAGES 26 /* Use 64 Megabyte pages */
58-
5949
#define MADV_MERGEABLE 65 /* KSM may merge identical pages */
6050
#define MADV_UNMERGEABLE 66 /* KSM may not merge identical pages */
6151

0 commit comments

Comments
 (0)