View Pit Stop page for race #1406 by dudiellon — Ghost race
View profile for @dudiellon (dudiellon)
Official speed | 69.59 wpm (45.52 seconds elapsed during race) |
---|---|
Race Start | January 26, 2012 1:28:14pm UTC |
Race Finish | January 26, 2012 1:29:00pm UTC |
Outcome | Win (1 of 3) |
Accuracy | 90.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; |