Changeset 3654
- Timestamp:
- 07/04/02 02:02:59 (11 years ago)
- Location:
- i2c/trunk
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
kernel/i2c-algo-bit.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
i2c/trunk/CHANGES
r3653 r3654 21 21 i2c.h: Add defines for SMBus 2.0 22 22 i2c-algo-8xx.[ch]: Compile updates, Add GPL 23 i2c-algo-bit.c: Wait for clock low extension by slow devices 23 i2c-algo-bit.c: Wait for clock low extension by slow devices; 24 add cond_resched() for 2.5 kernels 24 25 i2c-core.c: Add SMBus 2.0 PEC support; change back to 'old' CONFIG names; 25 26 fix i2c emulated process call -
i2c/trunk/kernel/i2c-algo-bit.c
r3653 r3654 120 120 return -ETIMEDOUT; 121 121 } 122 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) 122 123 if (current->need_resched) 123 124 schedule(); 125 #else 126 cond_resched{}; 127 #endif 124 128 } 125 129 DEBSTAT(printk(KERN_DEBUG "needed %ld jiffies\n", jiffies-start));
