- export-tiny-shmem_file_setup-for-drm-gem.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Export tiny shmem_file_setup for DRM-GEM
has been removed from the -mm tree.  Its filename was
     export-tiny-shmem_file_setup-for-drm-gem.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: Export tiny shmem_file_setup for DRM-GEM
From: Hugh Dickins <hugh@xxxxxxxxxxx>

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@xxxxxxxxxxx>
Acked-by: Matt Mackall <mpm@xxxxxxxxxxx>
Acked-by: Dave Airlie <airlied@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/gpu/drm/Kconfig |    2 +-
 mm/tiny-shmem.c         |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff -puN drivers/gpu/drm/Kconfig~export-tiny-shmem_file_setup-for-drm-gem drivers/gpu/drm/Kconfig
--- a/drivers/gpu/drm/Kconfig~export-tiny-shmem_file_setup-for-drm-gem
+++ a/drivers/gpu/drm/Kconfig
@@ -6,7 +6,7 @@
 #
 menuconfig DRM
 	tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
-	depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG && SHMEM
+	depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG && MMU
 	help
 	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
 	  introduced in XFree86 4.0. If you say Y here, you need to select
diff -puN mm/tiny-shmem.c~export-tiny-shmem_file_setup-for-drm-gem mm/tiny-shmem.c
--- a/mm/tiny-shmem.c~export-tiny-shmem_file_setup-for-drm-gem
+++ a/mm/tiny-shmem.c
@@ -95,6 +95,7 @@ put_dentry:
 put_memory:
 	return ERR_PTR(error);
 }
+EXPORT_SYMBOL_GPL(shmem_file_setup);
 
 /**
  * shmem_zero_setup - setup a shared anonymous mapping
_

Patches currently in -mm which might be from hugh@xxxxxxxxxxx are

origin.patch
prio_tree-debugging-patch.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux