summaryrefslogtreecommitdiff
path: root/package/libdrm/patches/patch-include_drm_drm_sarea_h
blob: d7d557dcf18c137074832796c2be85870bdad5e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
	Fix for lemote.
--- libdrm-2.4.20.orig/include/drm/drm_sarea.h	2010-03-06 00:21:13.000000000 +0100
+++ libdrm-2.4.20/include/drm/drm_sarea.h	2010-06-12 20:44:24.812809619 +0200
@@ -37,6 +37,8 @@
 /* SAREA area needs to be at least a page */
 #if defined(__alpha__)
 #define SAREA_MAX                       0x2000U
+#elif defined(__mips__)
+#define SAREA_MAX                       0x4000U
 #elif defined(__ia64__)
 #define SAREA_MAX                       0x10000U	/* 64kB */
 #else