View Pit Stop page for race #4 by developer1998 — Ghost race
View profile for Developer (developer1998)
Official speed | 41.20 wpm (76.89 seconds elapsed during race) |
---|---|
Race Start | July 25, 2015 4:24:53am UTC |
Race Finish | July 25, 2015 4:26:09am UTC |
Outcome | Win (1 of 3) |
Accuracy | 89.0% |
Points | 0.00 |
Text | #10003 (Length: 264 characters) 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; |