aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/pci/pci-common.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-01-20 09:17:08 -0500
committerMichal Simek <monstr@monstr.eu>2010-03-11 08:16:17 -0500
commit79bf3a137617e6deeac411c39f1660b7e91d6348 (patch)
treed4f7789d79e17af51774264c9e65b26875144f84 /arch/microblaze/pci/pci-common.c
parent1be53e084a5bd8f59850348e1066d25aa0200031 (diff)
microblaze: PCI early support for noMMU system
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/pci/pci-common.c')
-rw-r--r--arch/microblaze/pci/pci-common.c2
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;