Changeset 22f7769 in mainline for arch/mips32/src/drivers/arc.c
- Timestamp:
- 2005-10-17T23:31:41Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4b2c872d
- Parents:
- 75eacab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/src/drivers/arc.c
r75eacab r22f7769 176 176 { 177 177 __u32 cnt; 178 pri_t pri;178 ipl_t ipl; 179 179 180 180 /* TODO: Should be spinlock? */ 181 pri = cpu_priority_high();181 ipl = interrupts_disable(); 182 182 arc_entry->write(1, &ch, 1, &cnt); 183 cpu_priority_restore(pri);183 interrupts_restore(ipl); 184 184 185 185 }
Note:
See TracChangeset
for help on using the changeset viewer.