Contents of /trunk/ati-drivers/patches/ati-drivers-8.23.7-noiommu.patch
Parent Directory | Revision Log
Revision 144 -
(show annotations)
(download)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 407 byte(s)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 407 byte(s)
-import
1 | --- firegl_public.c.orig 2006-03-21 15:32:05.000000000 +0100 |
2 | +++ firegl_public.c 2006-03-21 15:38:06.000000000 +0100 |
3 | @@ -2353,7 +2353,7 @@ |
4 | |
5 | int ATI_API_CALL __ke_no_iommu(void) |
6 | { |
7 | -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,1) |
8 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,1) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16) |
9 | #ifdef CONFIG_GART_IOMMU |
10 | return no_iommu; |
11 | #else /* !CONFIG_GART_IOMMU */ |