Commit 9f58c62fcc66f06aee141fdd80d15213b7f4809a
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
Merge tag 'microblaze-3.18-rc3' of git://git.monstr.eu/linux-2.6-microblaze
Pull Microblaze updates from Michal Simek: - wire-up new bpf syscall - fix PCI bug - fix Kconfig warning * tag 'microblaze-3.18-rc3' of git://git.monstr.eu/linux-2.6-microblaze: microblaze: Wire up bpf syscall microblaze: Fix IO space breakage after of_pci_range_to_resource() change microblaze: Fix missing NR_CPUS in menuconfig
Showing 5 changed files Side-by-side Diff
arch/microblaze/Kconfig
arch/microblaze/include/asm/unistd.h
arch/microblaze/include/uapi/asm/unistd.h
arch/microblaze/kernel/syscall_table.S
arch/microblaze/pci/pci-common.c
... | ... | @@ -660,8 +660,13 @@ |
660 | 660 | res = &hose->mem_resources[memno++]; |
661 | 661 | break; |
662 | 662 | } |
663 | - if (res != NULL) | |
664 | - of_pci_range_to_resource(&range, dev, res); | |
663 | + if (res != NULL) { | |
664 | + res->name = dev->full_name; | |
665 | + res->flags = range.flags; | |
666 | + res->start = range.cpu_addr; | |
667 | + res->end = range.cpu_addr + range.size - 1; | |
668 | + res->parent = res->child = res->sibling = NULL; | |
669 | + } | |
665 | 670 | } |
666 | 671 | |
667 | 672 | /* If there's an ISA hole and the pci_mem_offset is -not- matching |