[PATCH 2/2] Only call LoaderRefSymLists for older ABIs
Jesse Adkins
jesserayadkins at gmail.com
Fri Dec 10 18:33:05 PST 2010
On Fri, Dec 10, 2010 at 11:43 AM, Paulo Zanoni <pzanoni at mandriva.com> wrote:
>
> 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
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>
Why not just gut all the LoaderRefSymLists stuff? Even if you #if this
off, it still requires those long and ugly symbol lists.
More information about the xorg-devel
mailing list