summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/pci
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-04-11 12:54:51 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-11 06:38:57 -0700
commit44b940c299dfaaf25b7aad683ff55cb213502ddd (patch)
tree1b7397f5a661d467414dfee4709be40c29306afe /arch/x86_64/pci
parentecc16ba96fd5b1a1c1988f0a2b05ff954bdff728 (diff)
downloadop-kernel-dev-44b940c299dfaaf25b7aad683ff55cb213502ddd.zip
op-kernel-dev-44b940c299dfaaf25b7aad683ff55cb213502ddd.tar.gz
[PATCH] x86_64: Fix embarassing typo in mmconfig bus check
Surprising that it still worked at all with this - yes it was tested. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/pci')
-rw-r--r--arch/x86_64/pci/mmconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/pci/mmconfig.c b/arch/x86_64/pci/mmconfig.c
index 1a59a31..a2060e4 100644
--- a/arch/x86_64/pci/mmconfig.c
+++ b/arch/x86_64/pci/mmconfig.c
@@ -142,7 +142,7 @@ static __init void unreachable_devices(void)
{
int i, k;
/* Use the max bus number from ACPI here? */
- for (k = 0; i < MAX_CHECK_BUS; k++) {
+ for (k = 0; k < MAX_CHECK_BUS; k++) {
for (i = 0; i < 32; i++) {
u32 val1;
char __iomem *addr;
OpenPOWER on IntegriCloud