diff options
author | Hugh Dickins <hughd@google.com> | 2011-06-28 01:18:17 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-06-28 03:00:13 +0200 |
commit | 3142b651ad2232cf0e375c291ee4b893c8559df5 (patch) | |
tree | ec8038ccadc92cbceee37e084c77f73fb61d1d53 /fs | |
parent | drivers/tty/serial/8250_pci.c: fix warning (diff) | |
download | linux-3142b651ad2232cf0e375c291ee4b893c8559df5.tar.xz linux-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 'fs')
0 files changed, 0 insertions, 0 deletions