diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-24 11:44:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-24 11:44:40 -0400 |
commit | aaa64485267c14e79382fbf7f4b0689a5de94fe9 (patch) | |
tree | f12d6a74ff8d5f6582c81ec5657e39666d050a86 | |
parent | 6eae81a5e2d6646a61146501fd3032a340863c1d (diff) | |
parent | c4fa9a6ae285ec4777d0524a4ee9c9039a5a4c28 (diff) |
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
-rw-r--r-- | arch/microblaze/include/asm/pci.h | 17 | ||||
-rw-r--r-- | arch/microblaze/kernel/cpu/cpuinfo.c | 2 | ||||
-rw-r--r-- | arch/microblaze/kernel/dma.c | 1 | ||||
-rw-r--r-- | arch/microblaze/kernel/kgdb.c | 2 |
4 files changed, 4 insertions, 18 deletions
diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h index fdf2e75d7033..b42ed684b945 100644 --- a/arch/microblaze/include/asm/pci.h +++ b/arch/microblaze/include/asm/pci.h | |||
@@ -27,8 +27,6 @@ | |||
27 | #define PCIBIOS_MIN_IO 0x1000 | 27 | #define PCIBIOS_MIN_IO 0x1000 |
28 | #define PCIBIOS_MIN_MEM 0x10000000 | 28 | #define PCIBIOS_MIN_MEM 0x10000000 |
29 | 29 | ||
30 | struct pci_dev; | ||
31 | |||
32 | /* Values for the `which' argument to sys_pciconfig_iobase syscall. */ | 30 | /* Values for the `which' argument to sys_pciconfig_iobase syscall. */ |
33 | #define IOBASE_BRIDGE_NUMBER 0 | 31 | #define IOBASE_BRIDGE_NUMBER 0 |
34 | #define IOBASE_MEMORY 1 | 32 | #define IOBASE_MEMORY 1 |
@@ -79,21 +77,6 @@ extern void pcibios_finish_adding_to_bus(struct pci_bus *bus); | |||
79 | 77 | ||
80 | extern void pcibios_resource_survey(void); | 78 | extern void pcibios_resource_survey(void); |
81 | 79 | ||
82 | extern struct pci_controller *init_phb_dynamic(struct device_node *dn); | ||
83 | extern int remove_phb_dynamic(struct pci_controller *phb); | ||
84 | |||
85 | extern struct pci_dev *of_create_pci_dev(struct device_node *node, | ||
86 | struct pci_bus *bus, int devfn); | ||
87 | |||
88 | extern void of_scan_pci_bridge(struct device_node *node, | ||
89 | struct pci_dev *dev); | ||
90 | |||
91 | extern void of_scan_bus(struct device_node *node, struct pci_bus *bus); | ||
92 | extern void of_rescan_bus(struct device_node *node, struct pci_bus *bus); | ||
93 | |||
94 | extern int pci_bus_find_capability(struct pci_bus *bus, | ||
95 | unsigned int devfn, int cap); | ||
96 | |||
97 | struct file; | 80 | struct file; |
98 | extern pgprot_t pci_phys_mem_access_prot(struct file *file, | 81 | extern pgprot_t pci_phys_mem_access_prot(struct file *file, |
99 | unsigned long pfn, | 82 | unsigned long pfn, |
diff --git a/arch/microblaze/kernel/cpu/cpuinfo.c b/arch/microblaze/kernel/cpu/cpuinfo.c index d1dd6e83d59b..b70bb538f001 100644 --- a/arch/microblaze/kernel/cpu/cpuinfo.c +++ b/arch/microblaze/kernel/cpu/cpuinfo.c | |||
@@ -47,6 +47,8 @@ const struct cpu_ver_key cpu_ver_lookup[] = { | |||
47 | {"9.1", 0x1d}, | 47 | {"9.1", 0x1d}, |
48 | {"9.2", 0x1f}, | 48 | {"9.2", 0x1f}, |
49 | {"9.3", 0x20}, | 49 | {"9.3", 0x20}, |
50 | {"9.4", 0x21}, | ||
51 | {"9.5", 0x22}, | ||
50 | {NULL, 0}, | 52 | {NULL, 0}, |
51 | }; | 53 | }; |
52 | 54 | ||
diff --git a/arch/microblaze/kernel/dma.c b/arch/microblaze/kernel/dma.c index ed7ba8a11822..bf4dec229437 100644 --- a/arch/microblaze/kernel/dma.c +++ b/arch/microblaze/kernel/dma.c | |||
@@ -154,6 +154,7 @@ dma_direct_sync_sg_for_device(struct device *dev, | |||
154 | __dma_sync(sg->dma_address, sg->length, direction); | 154 | __dma_sync(sg->dma_address, sg->length, direction); |
155 | } | 155 | } |
156 | 156 | ||
157 | static | ||
157 | int dma_direct_mmap_coherent(struct device *dev, struct vm_area_struct *vma, | 158 | int dma_direct_mmap_coherent(struct device *dev, struct vm_area_struct *vma, |
158 | void *cpu_addr, dma_addr_t handle, size_t size, | 159 | void *cpu_addr, dma_addr_t handle, size_t size, |
159 | struct dma_attrs *attrs) | 160 | struct dma_attrs *attrs) |
diff --git a/arch/microblaze/kernel/kgdb.c b/arch/microblaze/kernel/kgdb.c index 8736af5806ae..6366f69d118e 100644 --- a/arch/microblaze/kernel/kgdb.c +++ b/arch/microblaze/kernel/kgdb.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #define GDB_RTLBHI 56 | 32 | #define GDB_RTLBHI 56 |
33 | 33 | ||
34 | /* keep pvr separately because it is unchangeble */ | 34 | /* keep pvr separately because it is unchangeble */ |
35 | struct pvr_s pvr; | 35 | static struct pvr_s pvr; |
36 | 36 | ||
37 | void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) | 37 | void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) |
38 | { | 38 | { |