commit | cc5499c3a607a392e8a7adb934aaf14b2c6a3519 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <matthew@wil.cx> | Mon Jul 28 13:39:00 2008 -0400 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Mon Jul 28 14:29:04 2008 -0700 |
tree | d7ab414b929fed34d9b15bf0c636e9591c4673dd | |
parent | 6ac665c63dcac8fcec534a1d224ecbb8b867ad59 [diff] |
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>