Magellan Linux

Contents of /trunk/ati-drivers/patches/ati-drivers-8.22.5-intermodule.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (show annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years ago) by niro
File size: 831 byte(s)
-import

1 --- firegl_public.c-orig 2006-02-23 14:54:16.386740016 -0600
2 +++ firegl_public.c 2006-02-23 14:56:38.054203288 -0600
3 @@ -361,13 +361,15 @@
4 } firegl_drm_stub_info_t;
5 static firegl_drm_stub_info_t firegl_stub_info;
6
7 -#if LINUX_VERSION_CODE < 0x020400
8 +#if LINUX_VERSION_CODE > 0x02060F
9 struct firegl_drm_stub_info_t *firegl_stub_pointer = NULL;
10 #define inter_module_put(x)
11 #define inter_module_unregister(x)
12 #define inter_module_get_request(x,y) firegl_stub_pointer
13 #define inter_module_register(x,y,z) do { firegl_stub_pointer = z; } while (0)
14 +#endif
15 /* This is a kludge for backward compatibility that is only useful in DRM(stub_open) */
16 +#if LINUX_VERSION_CODE < 0x020400
17 #define fops_put(fops) MOD_DEC_USE_COUNT
18 #define fops_get(fops) (fops); MOD_INC_USE_COUNT
19 #endif // LINUX_VERSION_CODE < 0x020400