Messages in this thread Patch in this message | | | Date | Sun, 30 Jul 2000 18:13:53 +0100 | From | Tony Hoyle <> | Subject | 2.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/
| |