fusion_kernel_version.patch

Álan Livio, 14/09/2010 15:29

Download (641 Bytes)

 
linux/drivers/char/fusion/fusionee.c 2010-09-04 16:34:21.698401986 -0300
562 562
			if (f != fusionee && (!target || target == f->id)) {
563 563
				struct task_struct *p;
564 564

  
565
#ifdef rcu_read_lock
565
//#ifdef rcu_read_lock
566
#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 18)
566 567
				rcu_read_lock();
567 568
#else
568 569
				read_lock(&tasklist_lock);
......
582 583
					}
583 584
				}
584 585

  
585
#ifdef rcu_read_unlock
586
//#ifdef rcu_read_unlock
587
#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 18)
586 588
				rcu_read_unlock();
587 589
#else
588 590
				read_unlock(&tasklist_lock);