Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'microblaze-4.2-rc1' of git://git.monstr.eu/linux-2.6-microblaze

Pull Microblaze updates from Michal Simek:

- some PCI fixups

- add new MB versions

- sparse fixups

* tag 'microblaze-4.2-rc1' of git://git.monstr.eu/linux-2.6-microblaze:
microblaze/PCI: Remove unnecessary struct pci_dev declaration
microblaze/PCI: Remove unnecessary pci_bus_find_capability() declaration
microblaze/PCI: Remove unused declarations
microblaze: Label local function static
microblaze: Add missing release version code

+4 -18
-17
arch/microblaze/include/asm/pci.h
··· 27 27 #define PCIBIOS_MIN_IO 0x1000 28 28 #define PCIBIOS_MIN_MEM 0x10000000 29 29 30 - struct pci_dev; 31 - 32 30 /* Values for the `which' argument to sys_pciconfig_iobase syscall. */ 33 31 #define IOBASE_BRIDGE_NUMBER 0 34 32 #define IOBASE_MEMORY 1 ··· 76 78 extern void pcibios_finish_adding_to_bus(struct pci_bus *bus); 77 79 78 80 extern void pcibios_resource_survey(void); 79 - 80 - extern struct pci_controller *init_phb_dynamic(struct device_node *dn); 81 - extern int remove_phb_dynamic(struct pci_controller *phb); 82 - 83 - extern struct pci_dev *of_create_pci_dev(struct device_node *node, 84 - struct pci_bus *bus, int devfn); 85 - 86 - extern void of_scan_pci_bridge(struct device_node *node, 87 - struct pci_dev *dev); 88 - 89 - extern void of_scan_bus(struct device_node *node, struct pci_bus *bus); 90 - extern void of_rescan_bus(struct device_node *node, struct pci_bus *bus); 91 - 92 - extern int pci_bus_find_capability(struct pci_bus *bus, 93 - unsigned int devfn, int cap); 94 81 95 82 struct file; 96 83 extern pgprot_t pci_phys_mem_access_prot(struct file *file,
+2
arch/microblaze/kernel/cpu/cpuinfo.c
··· 47 47 {"9.1", 0x1d}, 48 48 {"9.2", 0x1f}, 49 49 {"9.3", 0x20}, 50 + {"9.4", 0x21}, 51 + {"9.5", 0x22}, 50 52 {NULL, 0}, 51 53 }; 52 54
+1
arch/microblaze/kernel/dma.c
··· 154 154 __dma_sync(sg->dma_address, sg->length, direction); 155 155 } 156 156 157 + static 157 158 int dma_direct_mmap_coherent(struct device *dev, struct vm_area_struct *vma, 158 159 void *cpu_addr, dma_addr_t handle, size_t size, 159 160 struct dma_attrs *attrs)
+1 -1
arch/microblaze/kernel/kgdb.c
··· 32 32 #define GDB_RTLBHI 56 33 33 34 34 /* keep pvr separately because it is unchangeble */ 35 - struct pvr_s pvr; 35 + static struct pvr_s pvr; 36 36 37 37 void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) 38 38 {