diff options
author | Samuel Ortiz <sameo@openedhand.com> | 2008-10-03 08:42:49 +0000 |
---|---|---|
committer | Samuel Ortiz <sameo@openedhand.com> | 2008-10-03 08:42:49 +0000 |
commit | 8e466ad34b11fea6003489e1c8875042d991b5a7 (patch) | |
tree | 4f5a6c1c192235b5ce464187bfe810dbc705fc34 /meta/packages/linux/linux-moblin-2.6.27-rc1/0001_Export_shmem_file_setup_for_DRM-GEM.patch | |
parent | 6c807a6d89d031d8bee7222b896b29dbb1163f4b (diff) | |
download | openembedded-core-8e466ad34b11fea6003489e1c8875042d991b5a7.tar.gz openembedded-core-8e466ad34b11fea6003489e1c8875042d991b5a7.tar.bz2 openembedded-core-8e466ad34b11fea6003489e1c8875042d991b5a7.tar.xz openembedded-core-8e466ad34b11fea6003489e1c8875042d991b5a7.zip |
linux-moblin2: Use a more generic name
And fix the eee901 machine file accordingly.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5404 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux/linux-moblin-2.6.27-rc1/0001_Export_shmem_file_setup_for_DRM-GEM.patch')
-rw-r--r-- | meta/packages/linux/linux-moblin-2.6.27-rc1/0001_Export_shmem_file_setup_for_DRM-GEM.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-moblin-2.6.27-rc1/0001_Export_shmem_file_setup_for_DRM-GEM.patch b/meta/packages/linux/linux-moblin-2.6.27-rc1/0001_Export_shmem_file_setup_for_DRM-GEM.patch new file mode 100644 index 000000000..9589838af --- /dev/null +++ b/meta/packages/linux/linux-moblin-2.6.27-rc1/0001_Export_shmem_file_setup_for_DRM-GEM.patch @@ -0,0 +1,27 @@ +From: Keith Packard <keithp@keithp.com> +Date: Fri, 20 Jun 2008 07:08:06 +0000 (-0700) +Subject: Export shmem_file_setup for DRM-GEM +X-Git-Tag: v2.6.12-rc2 +X-Git-Url: http://gitweb.freedesktop.org/?p=users/anholt/anholt/linux-2.6.git;a=commitdiff;h=350ea3ece12744ae154bbc2ea13da6ba84ca5515 + +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 <eric@anholt.net> +--- + +--- 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 + |