diff options
author | Yinghai Lu <yinghai@kernel.org> | 2010-02-10 10:20:12 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-11 02:47:17 +0100 |
commit | 284f933d45a1e60404328440910bc2651c0fb51d (patch) | |
tree | 50bf34ca469aa4d56c102a5c5b69edf0ba85c261 /arch/x86/pci/bus_numa.h | |
parent | x86/pci: Add cap_resource() (diff) | |
download | linux-284f933d45a1e60404328440910bc2651c0fb51d.tar.xz linux-284f933d45a1e60404328440910bc2651c0fb51d.zip |
x86/pci: Enable pci root res read out for 32bit too
Should be good for 32bit too.
-v3: cast res->start
-v4: according to Linus, to use %pR instead of cast
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <1265793639-15071-9-git-send-email-yinghai@kernel.org>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/pci/bus_numa.h')
-rw-r--r-- | arch/x86/pci/bus_numa.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/pci/bus_numa.h b/arch/x86/pci/bus_numa.h index f63e80294f22..08d8e1576240 100644 --- a/arch/x86/pci/bus_numa.h +++ b/arch/x86/pci/bus_numa.h @@ -1,5 +1,5 @@ -#ifdef CONFIG_X86_64 - +#ifndef __BUS_NUMA_H +#define __BUS_NUMA_H /* * sub bus (transparent) will use entres from 3 to store extra from * root, so need to make sure we have enough slot there, Should we |