diff options
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/mga_dma.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/mga_dma.c b/shared-core/mga_dma.c index fa3dd394..cc93d5ae 100644 --- a/shared-core/mga_dma.c +++ b/shared-core/mga_dma.c @@ -546,6 +546,7 @@ static int mga_do_agp_dma_bootstrap(drm_device_t * dev, return err; } +#ifdef __linux__ { drm_map_list_t *_entry; unsigned long agp_token = 0; @@ -559,6 +560,7 @@ static int mga_do_agp_dma_bootstrap(drm_device_t * dev, dev->agp_buffer_token = agp_token; } +#endif offset += secondary_size; err = drm_addmap( dev, offset, agp_size - offset, |