]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Export tiny shmem_file_setup for DRM-GEM
authorHugh Dickins <hugh@veritas.com>
Mon, 20 Oct 2008 23:04:04 +0000 (00:04 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 23:17:42 +0000 (16:17 -0700)
commite798ba57e9f423dddbf1bdeb20a62bdd0593890f
treea6f427f3e4e86e8a45681792a16e227fd47f7029
parent653c03168348ac7aebb969931f87ba281749d7dd
Export tiny shmem_file_setup for DRM-GEM

We're trying to keep the !CONFIG_SHMEM tiny-shmem.c (using ramfs without
swap) in synch with CONFIG_SHMEM shmem.c (and mpm is preparing patches
to combine them).  I was glad to see EXPORT_SYMBOL_GPL(shmem_file_setup)
go into shmem.c, but why not support DRM-GEM when !CONFIG_SHMEM too?
But caution says still depend on MMU, since !CONFIG_MMU is.. different.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Acked-by: Matt Mackall <mpm@selenic.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/Kconfig
mm/tiny-shmem.c