update patch to build libdrm-newttm

This commit is contained in:
Stephan Raue 2009-04-29 02:02:58 +02:00
parent 0ce9c46d5e
commit a6428cade7

View File

@ -1,3 +1,19 @@
diff -Naur libdrm-newttm-svn-20090329.2/linux-core/drm_os_linux.h libdrm-newttm-svn-20090329.2.patch/linux-core/drm_os_linux.h
--- libdrm-newttm-svn-20090329.2/linux-core/drm_os_linux.h 2009-04-01 00:17:47.000000000 +0200
+++ libdrm-newttm-svn-20090329.2.patch/linux-core/drm_os_linux.h 2009-04-29 01:49:57.016009688 +0200
@@ -49,12 +49,6 @@
/** IRQ handler arguments and return type and values */
#define DRM_IRQ_ARGS int irq, void *arg
-/** backwards compatibility with old irq return values */
-#ifndef IRQ_HANDLED
-typedef void irqreturn_t;
-#define IRQ_HANDLED /* nothing */
-#define IRQ_NONE /* nothing */
-#endif
/** AGP types */
#if __OS_HAS_AGP
diff -Naur libdrm-newttm-svn-20090329.2/linux-core/drm_sysfs.c libdrm-newttm-svn-20090329.2.patch/linux-core/drm_sysfs.c
--- libdrm-newttm-svn-20090329.2/linux-core/drm_sysfs.c 2009-04-01 00:17:47.000000000 +0200
+++ libdrm-newttm-svn-20090329.2.patch/linux-core/drm_sysfs.c 2009-04-28 22:36:01.230011104 +0200