source: pkg/raul/non-free/fglrx-driver/trunk/debian/patches/05_fix_2.6.37.patch @ 7535

Revision 7535, 1.2 KB checked in by alanbach-guest, 3 years ago (diff)
  • Refreshed 05_fix_2.6.37.patch
  • common/lib/modules/fglrx/build_mod/firegl_public.c

    diff -urN fglrx-driver-10-9//common/lib/modules/fglrx/build_mod/firegl_public.c fglrx-driver-10-9.new//common/lib/modules/fglrx/build_mod/firegl_public.c
    old new  
    320320    return firegl_release((KCL_IO_FILE_Handle)filp); 
    321321} 
    322322 
    323 int ip_firegl_ioctl(struct inode* inode, struct file* filp, unsigned int cmd, unsigned long arg) 
     323int ip_firegl_ioctl(struct file* filp, unsigned int cmd, unsigned long arg) 
    324324{ 
    325325    return firegl_ioctl((KCL_IO_FILE_Handle)filp, cmd, arg); 
    326326} 
     
    407407#endif 
    408408    open:    ip_firegl_open, 
    409409    release: ip_firegl_release, 
    410     ioctl:   ip_firegl_ioctl, 
     410    unlocked_ioctl:   ip_firegl_ioctl, 
    411411    mmap:    ip_firegl_mmap, 
    412412 
    413413    write:   ip_firegl_write, 
     
    50945094unsigned int ATI_API_CALL KAS_Mutex_Initialize(void* hMutex) 
    50955095{ 
    50965096    kasMutex_t* mutex_obj = (kasMutex_t*)hMutex; 
     5097#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37) 
     5098    sema_init(&(mutex_obj->mutex),1); 
     5099#else 
    50975100    init_MUTEX(&(mutex_obj->mutex)); 
     5101#endif 
    50985102    return 1; 
    50995103} 
    51005104 
Note: See TracBrowser for help on using the repository browser.