int res; unsigned long flags; u32 data = 0; if (PCI_##size##_BAD) return PCIBIOS_BAD_REGISTER_NUMBER; spin_lock_irqsave(&pci_lock, flags); res = bus->ops->read(bus, devfn, pos, len, &data); *value = (type)data; spin_unlock_irqrestore(&pci_lock, flags); return res;
—from Linux Kernel (access.c), a software by Linux Kernel
Active since December 5, 2009.
264 total characters in this text.
View Pit Stop page for this text
Universe | Races | Average WPM | First Race |
---|---|---|---|
Coder Edition | 6,437 | 42.54 | December 5, 2009 |
Default (English) | 4 | 54.52 | December 28, 2008 |