diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2008-10-21 16:25:42 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@openedhand.com> | 2008-10-21 16:26:53 +0200 |
commit | e169b23e66575856c5712b8f2162e305d8560d6b (patch) | |
tree | 44b2549bfc20563c79808b92db16baf7101adda1 /meta-moblin/packages/linux/linux-moblin-2.6.27/0012-Export-shmem_file_setup-for-DRM-GEM.patch | |
parent | e5c53ce035eb36fc1b416e9971582a45754844be (diff) | |
download | poky-e169b23e66575856c5712b8f2162e305d8560d6b.tar.gz |
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.
Diffstat (limited to 'meta-moblin/packages/linux/linux-moblin-2.6.27/0012-Export-shmem_file_setup-for-DRM-GEM.patch')
-rw-r--r-- | meta-moblin/packages/linux/linux-moblin-2.6.27/0012-Export-shmem_file_setup-for-DRM-GEM.patch | 25 |
1 files changed, 25 insertions, 0 deletions
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 0000000000..642d89ba76 --- /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 @@ | |||
1 | commit 48e13db26a25ebaf61f1fc28f612d6b35ddf1965 | ||
2 | Author: Keith Packard <keithp@keithp.com> | ||
3 | Date: Fri Jun 20 00:08:06 2008 -0700 | ||
4 | |||
5 | Export shmem_file_setup for DRM-GEM | ||
6 | |||
7 | GEM needs to create shmem files to back buffer objects. Though currently | ||
8 | creation of files for objects could have been driven from userland, the | ||
9 | modesetting work will require allocation of buffer objects before userland | ||
10 | is running, for boot-time message display. | ||
11 | |||
12 | Signed-off-by: Eric Anholt <eric@anholt.net> | ||
13 | |||
14 | diff --git a/mm/shmem.c b/mm/shmem.c | ||
15 | index 04fb4f1..515909d 100644 | ||
16 | --- a/mm/shmem.c | ||
17 | +++ b/mm/shmem.c | ||
18 | @@ -2582,6 +2582,7 @@ put_memory: | ||
19 | shmem_unacct_size(flags, size); | ||
20 | return ERR_PTR(error); | ||
21 | } | ||
22 | +EXPORT_SYMBOL(shmem_file_setup); | ||
23 | |||
24 | /** | ||
25 | * shmem_zero_setup - setup a shared anonymous mapping | ||