]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mm: remove unused VM_<READfoo> macros and expand other in-place
authorJoe Perches <joe@perches.com>
Mon, 8 Jul 2013 23:00:18 +0000 (16:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jul 2013 17:33:23 +0000 (10:33 -0700)
commit64363aad5ff1b878230e91223038c26a2205bff3
tree8f8bb770645e634d55fc390ec4428b1818eccd10
parent73b44ff43c4b3cf517826da03c51948593f88753
mm: remove unused VM_<READfoo> macros and expand other in-place

These VM_<READfoo> macros aren't used very often and three of them
aren't used at all.

Expand the ones that are used in-place, and remove all the now unused
#define VM_<foo> macros.

VM_READHINTMASK, VM_NormalReadHint and VM_ClearReadHint were added just
before 2.4 and appears have never been used.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h
mm/filemap.c
mm/memory.c
mm/rmap.c