From f114fd24924540dd5dfbd7483824d6b30c246bc6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 21 Apr 2009 17:33:19 +0100 Subject: linux-moblin: Switch to 2.6.29.1 Signed-off-by: Richard Purdie --- .../0003-drm-Export-hash-table-functionality.patch | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 meta-moblin/packages/linux/linux-moblin-2.6.29.1/0003-drm-Export-hash-table-functionality.patch (limited to 'meta-moblin/packages/linux/linux-moblin-2.6.29.1/0003-drm-Export-hash-table-functionality.patch') diff --git a/meta-moblin/packages/linux/linux-moblin-2.6.29.1/0003-drm-Export-hash-table-functionality.patch b/meta-moblin/packages/linux/linux-moblin-2.6.29.1/0003-drm-Export-hash-table-functionality.patch new file mode 100644 index 0000000000..a54a3cf281 --- /dev/null +++ b/meta-moblin/packages/linux/linux-moblin-2.6.29.1/0003-drm-Export-hash-table-functionality.patch @@ -0,0 +1,58 @@ +From 723cc597790fb648506a44e811415eb88b9dcdfa Mon Sep 17 00:00:00 2001 +From: Thomas Hellstrom +Date: Fri, 27 Feb 2009 17:18:37 +0100 +Subject: [PATCH 3/8] drm: Export hash table functionality. + +Also fix include file. + +Signed-off-by: Thomas Hellstrom +--- + drivers/gpu/drm/drm_hashtab.c | 4 ++++ + include/drm/drm_hashtab.h | 1 + + 2 files changed, 5 insertions(+), 0 deletions(-) + +Index: linux-2.6.28/drivers/gpu/drm/drm_hashtab.c +=================================================================== +--- linux-2.6.28.orig/drivers/gpu/drm/drm_hashtab.c 2009-03-09 19:19:52.000000000 +0000 ++++ linux-2.6.28/drivers/gpu/drm/drm_hashtab.c 2009-03-12 13:15:25.000000000 +0000 +@@ -62,6 +62,7 @@ + } + return 0; + } ++EXPORT_SYMBOL(drm_ht_create); + + void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) + { +@@ -156,6 +157,7 @@ + } + return 0; + } ++EXPORT_SYMBOL(drm_ht_just_insert_please); + + int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, + struct drm_hash_item **item) +@@ -169,6 +171,7 @@ + *item = hlist_entry(list, struct drm_hash_item, head); + return 0; + } ++EXPORT_SYMBOL(drm_ht_find_item); + + int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key) + { +@@ -202,3 +205,4 @@ + ht->table = NULL; + } + } ++EXPORT_SYMBOL(drm_ht_remove); +Index: linux-2.6.28/include/drm/drm_hashtab.h +=================================================================== +--- linux-2.6.28.orig/include/drm/drm_hashtab.h 2008-12-24 23:26:37.000000000 +0000 ++++ linux-2.6.28/include/drm/drm_hashtab.h 2009-03-12 13:15:25.000000000 +0000 +@@ -34,6 +34,7 @@ + + #ifndef DRM_HASHTAB_H + #define DRM_HASHTAB_H ++#include + + #define drm_hash_entry(_ptr, _type, _member) container_of(_ptr, _type, _member) + -- cgit v1.2.3