From c09fad40b652b5fd8b3e5d68d4b3ab74a35fc955 Mon Sep 17 00:00:00 2001 From: Bjorn Helgaas Date: Thu, 23 Feb 2012 20:18:57 -0700 Subject: [PATCH] --- yaml --- r: 294743 b: refs/heads/master c: a4fab0449eb2213e426bf210126fa0f1129ca9a3 h: refs/heads/master i: 294741: 37575a9bb5fc17e16871e9177737a78fa7ee0c97 294739: 20103b94784383ee40be7fc075349f4e4b485054 294735: d8de5ceeaaa3b70d71da027b6dff59d0b9dd3a5a v: v3 --- [refs] | 2 +- trunk/arch/arm/kernel/bios32.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 90ae4df0a85b..8f80500472ee 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6696cbc39dff488dbe04d80d74023d8766a15e70 +refs/heads/master: a4fab0449eb2213e426bf210126fa0f1129ca9a3 diff --git a/trunk/arch/arm/kernel/bios32.c b/trunk/arch/arm/kernel/bios32.c index f3fd52b33e3d..8d7c22d7dff8 100644 --- a/trunk/arch/arm/kernel/bios32.c +++ b/trunk/arch/arm/kernel/bios32.c @@ -16,7 +16,6 @@ #include static int debug_pci; -static int use_firmware; /* * We can't use pci_find_device() here since we are @@ -537,7 +536,7 @@ void __init pci_common_init(struct hw_pci *hw) list_for_each_entry(sys, &hw->buses, node) { struct pci_bus *bus = sys->bus; - if (!use_firmware) { + if (!pci_has_flag(PCI_PROBE_ONLY)) { /* * Size the bridge windows. */ @@ -575,7 +574,7 @@ char * __init pcibios_setup(char *str) debug_pci = 1; return NULL; } else if (!strcmp(str, "firmware")) { - use_firmware = 1; + pci_add_flags(PCI_PROBE_ONLY); return NULL; } return str;