diff options
Diffstat (limited to 'arch/microblaze/pci/pci-common.c')
-rw-r--r-- | arch/microblaze/pci/pci-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c index f03f8be2740a..0be34350d733 100644 --- a/arch/microblaze/pci/pci-common.c +++ b/arch/microblaze/pci/pci-common.c | |||
@@ -561,11 +561,13 @@ int pci_mmap_legacy_page_range(struct pci_bus *bus, | |||
561 | * memory, effectively behaving just like /dev/zero | 561 | * memory, effectively behaving just like /dev/zero |
562 | */ | 562 | */ |
563 | if ((offset + size) > hose->isa_mem_size) { | 563 | if ((offset + size) > hose->isa_mem_size) { |
564 | #ifdef CONFIG_MMU | ||
564 | printk(KERN_DEBUG | 565 | printk(KERN_DEBUG |
565 | "Process %s (pid:%d) mapped non-existing PCI" | 566 | "Process %s (pid:%d) mapped non-existing PCI" |
566 | "legacy memory for 0%04x:%02x\n", | 567 | "legacy memory for 0%04x:%02x\n", |
567 | current->comm, current->pid, pci_domain_nr(bus), | 568 | current->comm, current->pid, pci_domain_nr(bus), |
568 | bus->number); | 569 | bus->number); |
570 | #endif | ||
569 | if (vma->vm_flags & VM_SHARED) | 571 | if (vma->vm_flags & VM_SHARED) |
570 | return shmem_zero_setup(vma); | 572 | return shmem_zero_setup(vma); |
571 | return 0; | 573 | return 0; |