lkml.org 
[lkml]   [2000]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.4.0-test5, drm with CONFIG_MODVERSIONS
drm is broken in test5 with CONFIG_MODVERSIONS set.  The simple fix is
as follows:

--- agpsupport.c.old Sun Jul 30 17:10:07 2000
+++ agpsupport.c Sun Jul 30 17:51:21 2000
@@ -31,6 +31,12 @@
#define __NO_VERSION__
#include "drmP.h"

+/* External symbol mangling for agp */
+#ifdef CONFIG_MODVERSIONS
+#include <linux/modsetver.h>
+#include <linux/modules/agpgart_be.ver>
+#endif
+
drm_agp_func_t drm_agp = { NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL };

/* The C standard says that 'void *' is not guaranteed to hold a
function

Simply including <linux/modversions.h> doesn't work for some reason...
I'm not entirely sure why.

Tony

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:3.067 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site