Removed dev-util/bouml because the new version has
[underlay.git] / x11-drivers / ati-drivers / files / 8.42.3 / ati-drivers-2.6.23.patch
blob97132089fe4826174e4300cbbc1db09ea7ec8f09
1 diff -Naur common/lib/modules/fglrx/build_mod/firegl_public.c common/lib/modules/fglrx/build_mod/firegl_public.c
2 --- common/lib/modules/fglrx/build_mod/firegl_public.c 2007-07-29 13:36:37.000000000 +0200
3 +++ common/lib/modules/fglrx/build_mod/firegl_public.c 2007-07-29 14:24:11.000000000 +0200
4 @@ -2409,7 +2409,11 @@
5 #ifdef pte_offset_map
6 pte_p = pte_offset_map(pmd_p, virtual_addr);
7 if (pte_present(*pte_p))
8 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
9 ret = (ptep_clear_flush_dirty(vma, virtual_addr, pte_p) ? 1 : 0);
10 +#else
11 + return 0;
12 +#endif
13 else
14 __KE_DEBUG("page not exists!\n");
15 pte_unmap(pte_p);
16 @@ -3399,9 +3403,11 @@
17 sprintf(buf, "0x%Lx %c%c%c%c%c%c\n",
18 *phys_address,
19 pte_present (pte) ? 'p' : '-',
20 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
21 pte_read (pte) ? 'r' : '-',
22 - pte_write (pte) ? 'w' : '-',
23 pte_exec (pte) ? 'x' : '-',
24 +#endif
25 + pte_write (pte) ? 'w' : '-',
26 pte_dirty (pte) ? 'd' : '-',
27 pte_young (pte) ? 'a' : '-');
29 @@ -5348,7 +5354,11 @@
30 DBG_TRACE("creating slab object '%s'", slabcache_obj->name);
32 if ((slabcache_obj->cache =
33 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
34 kmem_cache_create(slabcache_obj->name, iEntrySize, 0, 0, NULL, NULL)))
35 +#else
36 + kmem_cache_create(slabcache_obj->name, iEntrySize, 0, 0, NULL)))
37 +#endif
39 ret = 1;