Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 368081 | Differences between
and this patch

Collapse All | Expand All

(-)fglrx-driver-11-4.orig/common/lib/modules/fglrx/build_mod/firegl_public.c (+5 lines)
Lines 1060-1066 Link Here
1060
    dev->pubdev.signature = FGL_DEVICE_SIGNATURE;
1060
    dev->pubdev.signature = FGL_DEVICE_SIGNATURE;
1061
1061
1062
    for (i = 0; i < __KE_MAX_SPINLOCKS; i++)
1062
    for (i = 0; i < __KE_MAX_SPINLOCKS; i++)
1063
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,39)
1063
        dev->spinlock[i] = SPIN_LOCK_UNLOCKED;
1064
        dev->spinlock[i] = SPIN_LOCK_UNLOCKED;
1065
#else
1066
        dev->spinlock[i] = __SPIN_LOCK_UNLOCKED(old_style_spin_init);
1067
#endif
1068
1064
1069
1065
    for (i=0; i < __KE_MAX_SEMAPHORES; i++)
1070
    for (i=0; i < __KE_MAX_SEMAPHORES; i++)
1066
        sema_init(&dev->struct_sem[i], 1);
1071
        sema_init(&dev->struct_sem[i], 1);

Return to bug 368081