diff options
author | Dave Jones <davej@redhat.com> | 2006-10-20 17:45:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-10-27 14:20:33 -0400 |
commit | 3095fc0c9772b4afb3c81f76664f341ef716d380 (patch) | |
tree | 5fd877458f77f09025c1f7c795121b51e47a7c78 /arch/x86_64/pci | |
parent | 6b5c76b8e2ff204fa8d7201acce461188873bf2b (diff) |
PCI: x86-64: mmconfig missing printk levels
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/x86_64/pci')
-rw-r--r-- | arch/x86_64/pci/mmconfig.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86_64/pci/mmconfig.c b/arch/x86_64/pci/mmconfig.c index 7732f4254d21..e61093b34c26 100644 --- a/arch/x86_64/pci/mmconfig.c +++ b/arch/x86_64/pci/mmconfig.c | |||
@@ -220,7 +220,7 @@ void __init pci_mmcfg_init(int type) | |||
220 | 220 | ||
221 | pci_mmcfg_virt = kmalloc(sizeof(*pci_mmcfg_virt) * pci_mmcfg_config_num, GFP_KERNEL); | 221 | pci_mmcfg_virt = kmalloc(sizeof(*pci_mmcfg_virt) * pci_mmcfg_config_num, GFP_KERNEL); |
222 | if (pci_mmcfg_virt == NULL) { | 222 | if (pci_mmcfg_virt == NULL) { |
223 | printk("PCI: Can not allocate memory for mmconfig structures\n"); | 223 | printk(KERN_ERR "PCI: Can not allocate memory for mmconfig structures\n"); |
224 | return; | 224 | return; |
225 | } | 225 | } |
226 | for (i = 0; i < pci_mmcfg_config_num; ++i) { | 226 | for (i = 0; i < pci_mmcfg_config_num; ++i) { |
@@ -228,7 +228,8 @@ void __init pci_mmcfg_init(int type) | |||
228 | pci_mmcfg_virt[i].virt = ioremap_nocache(pci_mmcfg_config[i].base_address, | 228 | pci_mmcfg_virt[i].virt = ioremap_nocache(pci_mmcfg_config[i].base_address, |
229 | MMCONFIG_APER_MAX); | 229 | MMCONFIG_APER_MAX); |
230 | if (!pci_mmcfg_virt[i].virt) { | 230 | if (!pci_mmcfg_virt[i].virt) { |
231 | printk("PCI: Cannot map mmconfig aperture for segment %d\n", | 231 | printk(KERN_ERR "PCI: Cannot map mmconfig aperture for " |
232 | "segment %d\n", | ||
232 | pci_mmcfg_config[i].pci_segment_group_number); | 233 | pci_mmcfg_config[i].pci_segment_group_number); |
233 | return; | 234 | return; |
234 | } | 235 | } |