From e169b23e66575856c5712b8f2162e305d8560d6b Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Tue, 21 Oct 2008 16:25:42 +0200 Subject: linux-moblin: Add 2.6.27 moblin kernel This will be the default moblin kernel. We also moved the 2.6.27-rc* kernels to meta-moblin. --- .../0012-Export-shmem_file_setup-for-DRM-GEM.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta-moblin/packages/linux/linux-moblin-2.6.27/0012-Export-shmem_file_setup-for-DRM-GEM.patch (limited to 'meta-moblin/packages/linux/linux-moblin-2.6.27/0012-Export-shmem_file_setup-for-DRM-GEM.patch') diff --git a/meta-moblin/packages/linux/linux-moblin-2.6.27/0012-Export-shmem_file_setup-for-DRM-GEM.patch b/meta-moblin/packages/linux/linux-moblin-2.6.27/0012-Export-shmem_file_setup-for-DRM-GEM.patch new file mode 100644 index 000000000..642d89ba7 --- /dev/null +++ b/meta-moblin/packages/linux/linux-moblin-2.6.27/0012-Export-shmem_file_setup-for-DRM-GEM.patch @@ -0,0 +1,25 @@ +commit 48e13db26a25ebaf61f1fc28f612d6b35ddf1965 +Author: Keith Packard +Date: Fri Jun 20 00:08:06 2008 -0700 + + Export shmem_file_setup for DRM-GEM + + GEM needs to create shmem files to back buffer objects. Though currently + creation of files for objects could have been driven from userland, the + modesetting work will require allocation of buffer objects before userland + is running, for boot-time message display. + + Signed-off-by: Eric Anholt + +diff --git a/mm/shmem.c b/mm/shmem.c +index 04fb4f1..515909d 100644 +--- a/mm/shmem.c ++++ b/mm/shmem.c +@@ -2582,6 +2582,7 @@ put_memory: + shmem_unacct_size(flags, size); + return ERR_PTR(error); + } ++EXPORT_SYMBOL(shmem_file_setup); + + /** + * shmem_zero_setup - setup a shared anonymous mapping -- cgit v1.2.3