diff options
author | 2015-12-07 22:24:24 +0800 | |
---|---|---|
committer | 2015-12-10 19:38:07 -0600 | |
commit | 96ae6469ba16ae502d2b2db4b5c9b7c846262999 (patch) | |
tree | 2b293b96b1a753e9070eccbafc012777c58fc4d4 /tools/perf/scripts/python/stackcollapse.py | |
parent | PCI: Simplify config space size computation (diff) | |
download | linux-dev-96ae6469ba16ae502d2b2db4b5c9b7c846262999.tar.xz linux-dev-96ae6469ba16ae502d2b2db4b5c9b7c846262999.zip |
x86/PCI: Simplify pci_bios_{read,write}
There is some repetitive code in the switch/case statements in
pci_bios_read() and pci_bios_write(). Factor out the BIOS function
IDs and the result widths to simplify the code.
Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions