summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2008-07-28 19:39:00 +0200
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-07-28 23:29:04 +0200
commitcc5499c3a607a392e8a7adb934aaf14b2c6a3519 (patch)
treed7ab414b929fed34d9b15bf0c636e9591c4673dd /lib
parentPCI: rewrite PCI BAR reading code (diff)
downloadlinux-cc5499c3a607a392e8a7adb934aaf14b2c6a3519.tar.xz
linux-cc5499c3a607a392e8a7adb934aaf14b2c6a3519.zip
PCI: handle 64-bit resources better on 32-bit machines
If the kernel is configured to support 64-bit resources on a 32-bit machine, we can support 64-bit BARs properly. Just change the condition to check sizeof(resource_size_t) instead of BITS_PER_LONG. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions