]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
shmem: SGP_QUICK and SGP_FAULT redundant
authorHugh Dickins <hugh@veritas.com>
Tue, 5 Feb 2008 06:28:43 +0000 (22:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:14 +0000 (09:44 -0800)
commit27d54b398ec0edea0e7417f003171017300e0efc
tree2167c058ab0734bbb424ec27b2dc19d58fa7befd
parent02098feaa42b2e0087fbbe6c6ab9a23e4653b16a
shmem: SGP_QUICK and SGP_FAULT redundant

Remove SGP_QUICK from the sgp_type enum: it was for shmem_populate and has no
users now.  Remove SGP_FAULT from the enum: SGP_CACHE does just as well (and
shmem_getpage is about to return with page always locked).

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/shmem.c