[PATCH] Export shmem_file_setup for DRM-GEM

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Anholt
Date: Tuesday, August 26, 2008 - 12:43 pm

From: Keith Packard <keithp@keithp.com>

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 <eric@anholt.net>
---
 mm/shmem.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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
-- 
1.5.6.3

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[resubmit] Add GEM to i915 DRM driver, Eric Anholt, (Tue Aug 26, 12:43 pm)
[PATCH] Export shmem_file_setup for DRM-GEM, Eric Anholt, (Tue Aug 26, 12:43 pm)
[PATCH] Export kmap_atomic_pfn for DRM-GEM., Eric Anholt, (Tue Aug 26, 12:43 pm)
Re: [PATCH] Export kmap_atomic_pfn for DRM-GEM., Nick Piggin, (Wed Aug 27, 6:36 am)
Re: [PATCH] Export kmap_atomic_pfn for DRM-GEM., Eric Anholt, (Wed Aug 27, 9:52 am)
Re: [PATCH] Export kmap_atomic_pfn for DRM-GEM., Nick Piggin, (Wed Aug 27, 5:22 pm)
Re: [PATCH] Export kmap_atomic_pfn for DRM-GEM., Jesse Barnes, (Mon Sep 22, 10:59 am)
Re: [PATCH] Export kmap_atomic_pfn for DRM-GEM., Eric Anholt, (Tue Sep 23, 9:32 am)