View Pit Stop page for race #1 by anthuang — Ghost race
View profile for AntHuang (anthuang)
Official speed | 36.80 wpm (86.09 seconds elapsed during race) |
---|---|
Race Start | September 29, 2011 12:55:41am UTC |
Race Finish | September 29, 2011 12:57:07am UTC |
Outcome | No win (2 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; |