[PATCH 2/2] Only call LoaderRefSymLists for older ABIs

Paulo Zanoni pzanoni at mandriva.com
Fri Dec 10 11:43:55 PST 2010


Signed-off-by: Paulo Zanoni <pzanoni at mandriva.com>
---
 src/xgi_driver.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/xgi_driver.c b/src/xgi_driver.c
index b5899f2..0c63f4d 100755
--- a/src/xgi_driver.c
+++ b/src/xgi_driver.c
@@ -500,6 +500,7 @@ xgiSetup(pointer module, pointer opts, int *errmaj, int *errmin)
         xf86AddDriver(&XGI, module, 0);
 #endif
 
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 5
         LoaderRefSymLists(vgahwSymbols, fbSymbols, xaaSymbols,
                           shadowSymbols, ramdacSymbols, ddcSymbols,
                           vbeSymbols, int10Symbols,
@@ -507,6 +508,7 @@ xgiSetup(pointer module, pointer opts, int *errmaj, int *errmin)
                           drmSymbols, driSymbols,
 #endif
                           NULL);
+#endif
         return (pointer) TRUE;
     }
 
-- 
1.7.1



More information about the xorg-devel mailing list