diff options
author | Hugh Dickins <hughd@google.com> | 2011-06-27 16:18:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-06-27 18:00:13 -0700 |
commit | 3142b651ad2232cf0e375c291ee4b893c8559df5 (patch) | |
tree | ec8038ccadc92cbceee37e084c77f73fb61d1d53 /net | |
parent | a39bce7bf60e728cb33b6b0415c3f44e7f1a102b (diff) | |
download | linux-stable-3142b651ad2232cf0e375c291ee4b893c8559df5.tar.gz linux-stable-3142b651ad2232cf0e375c291ee4b893c8559df5.tar.bz2 linux-stable-3142b651ad2232cf0e375c291ee4b893c8559df5.zip |
drm/ttm: use shmem_read_mapping_page
Soon tmpfs will stop supporting ->readpage and read_mapping_page(): once
"tmpfs: add shmem_read_mapping_page_gfp" has been applied, this patch can
be applied to ease the transition.
ttm_tt_swapin() and ttm_tt_swapout() use shmem_read_mapping_page() in
place of read_mapping_page(), since their swap_space has been created with
shmem_file_setup().
Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Cc: Dave Airlie <airlied@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions