diff options
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r-- | arch/powerpc/include/asm/ftrace.h | 2 | ||||
-rw-r--r-- | arch/powerpc/include/asm/immap_cpm2.h | 9 | ||||
-rw-r--r-- | arch/powerpc/include/asm/immap_qe.h | 5 | ||||
-rw-r--r-- | arch/powerpc/include/asm/iommu.h | 15 | ||||
-rw-r--r-- | arch/powerpc/include/asm/kdump.h | 8 | ||||
-rw-r--r-- | arch/powerpc/include/asm/mpic.h | 2 | ||||
-rw-r--r-- | arch/powerpc/include/asm/pci.h | 2 |
7 files changed, 17 insertions, 26 deletions
diff --git a/arch/powerpc/include/asm/ftrace.h b/arch/powerpc/include/asm/ftrace.h index de921326cca8..b298f7a631e6 100644 --- a/arch/powerpc/include/asm/ftrace.h +++ b/arch/powerpc/include/asm/ftrace.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #ifndef _ASM_POWERPC_FTRACE | 1 | #ifndef _ASM_POWERPC_FTRACE |
2 | #define _ASM_POWERPC_FTRACE | 2 | #define _ASM_POWERPC_FTRACE |
3 | 3 | ||
4 | #ifdef CONFIG_FTRACE | 4 | #ifdef CONFIG_FUNCTION_TRACER |
5 | #define MCOUNT_ADDR ((long)(_mcount)) | 5 | #define MCOUNT_ADDR ((long)(_mcount)) |
6 | #define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */ | 6 | #define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */ |
7 | 7 | ||
diff --git a/arch/powerpc/include/asm/immap_cpm2.h b/arch/powerpc/include/asm/immap_cpm2.h index 4080bab0468c..d4f069bf0e57 100644 --- a/arch/powerpc/include/asm/immap_cpm2.h +++ b/arch/powerpc/include/asm/immap_cpm2.h | |||
@@ -554,14 +554,11 @@ typedef struct usb_ctlr { | |||
554 | u8 usb_usadr; | 554 | u8 usb_usadr; |
555 | u8 usb_uscom; | 555 | u8 usb_uscom; |
556 | u8 res1[1]; | 556 | u8 res1[1]; |
557 | u16 usb_usep1; | 557 | __be16 usb_usep[4]; |
558 | u16 usb_usep2; | ||
559 | u16 usb_usep3; | ||
560 | u16 usb_usep4; | ||
561 | u8 res2[4]; | 558 | u8 res2[4]; |
562 | u16 usb_usber; | 559 | __be16 usb_usber; |
563 | u8 res3[2]; | 560 | u8 res3[2]; |
564 | u16 usb_usbmr; | 561 | __be16 usb_usbmr; |
565 | u8 usb_usbs; | 562 | u8 usb_usbs; |
566 | u8 res4[7]; | 563 | u8 res4[7]; |
567 | } usb_cpm2_t; | 564 | } usb_cpm2_t; |
diff --git a/arch/powerpc/include/asm/immap_qe.h b/arch/powerpc/include/asm/immap_qe.h index 3c2fced3ac22..c346d0bcd230 100644 --- a/arch/powerpc/include/asm/immap_qe.h +++ b/arch/powerpc/include/asm/immap_qe.h | |||
@@ -215,10 +215,7 @@ struct usb_ctlr { | |||
215 | u8 usb_usadr; | 215 | u8 usb_usadr; |
216 | u8 usb_uscom; | 216 | u8 usb_uscom; |
217 | u8 res1[1]; | 217 | u8 res1[1]; |
218 | __be16 usb_usep1; | 218 | __be16 usb_usep[4]; |
219 | __be16 usb_usep2; | ||
220 | __be16 usb_usep3; | ||
221 | __be16 usb_usep4; | ||
222 | u8 res2[4]; | 219 | u8 res2[4]; |
223 | __be16 usb_usber; | 220 | __be16 usb_usber; |
224 | u8 res3[2]; | 221 | u8 res3[2]; |
diff --git a/arch/powerpc/include/asm/iommu.h b/arch/powerpc/include/asm/iommu.h index 51ecfef8d843..7464c0daddd1 100644 --- a/arch/powerpc/include/asm/iommu.h +++ b/arch/powerpc/include/asm/iommu.h | |||
@@ -92,13 +92,14 @@ extern void *iommu_alloc_coherent(struct device *dev, struct iommu_table *tbl, | |||
92 | unsigned long mask, gfp_t flag, int node); | 92 | unsigned long mask, gfp_t flag, int node); |
93 | extern void iommu_free_coherent(struct iommu_table *tbl, size_t size, | 93 | extern void iommu_free_coherent(struct iommu_table *tbl, size_t size, |
94 | void *vaddr, dma_addr_t dma_handle); | 94 | void *vaddr, dma_addr_t dma_handle); |
95 | extern dma_addr_t iommu_map_single(struct device *dev, struct iommu_table *tbl, | 95 | extern dma_addr_t iommu_map_page(struct device *dev, struct iommu_table *tbl, |
96 | void *vaddr, size_t size, unsigned long mask, | 96 | struct page *page, unsigned long offset, |
97 | enum dma_data_direction direction, | 97 | size_t size, unsigned long mask, |
98 | struct dma_attrs *attrs); | 98 | enum dma_data_direction direction, |
99 | extern void iommu_unmap_single(struct iommu_table *tbl, dma_addr_t dma_handle, | 99 | struct dma_attrs *attrs); |
100 | size_t size, enum dma_data_direction direction, | 100 | extern void iommu_unmap_page(struct iommu_table *tbl, dma_addr_t dma_handle, |
101 | struct dma_attrs *attrs); | 101 | size_t size, enum dma_data_direction direction, |
102 | struct dma_attrs *attrs); | ||
102 | 103 | ||
103 | extern void iommu_init_early_pSeries(void); | 104 | extern void iommu_init_early_pSeries(void); |
104 | extern void iommu_init_early_iSeries(void); | 105 | extern void iommu_init_early_iSeries(void); |
diff --git a/arch/powerpc/include/asm/kdump.h b/arch/powerpc/include/asm/kdump.h index a503da9d56f3..b07ebb9784d3 100644 --- a/arch/powerpc/include/asm/kdump.h +++ b/arch/powerpc/include/asm/kdump.h | |||
@@ -9,12 +9,6 @@ | |||
9 | * Reserve to the end of the FWNMI area, see head_64.S */ | 9 | * Reserve to the end of the FWNMI area, see head_64.S */ |
10 | #define KDUMP_RESERVE_LIMIT 0x10000 /* 64K */ | 10 | #define KDUMP_RESERVE_LIMIT 0x10000 /* 64K */ |
11 | 11 | ||
12 | /* | ||
13 | * Used to differentiate between relocatable kdump kernel and other | ||
14 | * kernels | ||
15 | */ | ||
16 | #define KDUMP_SIGNATURE 0xfeed1234 | ||
17 | |||
18 | #ifdef CONFIG_CRASH_DUMP | 12 | #ifdef CONFIG_CRASH_DUMP |
19 | 13 | ||
20 | #define KDUMP_TRAMPOLINE_START 0x0100 | 14 | #define KDUMP_TRAMPOLINE_START 0x0100 |
@@ -26,8 +20,6 @@ | |||
26 | 20 | ||
27 | #ifndef __ASSEMBLY__ | 21 | #ifndef __ASSEMBLY__ |
28 | 22 | ||
29 | extern unsigned long __kdump_flag; | ||
30 | |||
31 | #if defined(CONFIG_CRASH_DUMP) && !defined(CONFIG_RELOCATABLE) | 23 | #if defined(CONFIG_CRASH_DUMP) && !defined(CONFIG_RELOCATABLE) |
32 | extern void reserve_kdump_trampoline(void); | 24 | extern void reserve_kdump_trampoline(void); |
33 | extern void setup_kdump_trampoline(void); | 25 | extern void setup_kdump_trampoline(void); |
diff --git a/arch/powerpc/include/asm/mpic.h b/arch/powerpc/include/asm/mpic.h index 34d9ac433ace..c2ccca53b991 100644 --- a/arch/powerpc/include/asm/mpic.h +++ b/arch/powerpc/include/asm/mpic.h | |||
@@ -355,6 +355,8 @@ struct mpic | |||
355 | #define MPIC_NO_BIAS 0x00000400 | 355 | #define MPIC_NO_BIAS 0x00000400 |
356 | /* Ignore NIRQS as reported by FRR */ | 356 | /* Ignore NIRQS as reported by FRR */ |
357 | #define MPIC_BROKEN_FRR_NIRQS 0x00000800 | 357 | #define MPIC_BROKEN_FRR_NIRQS 0x00000800 |
358 | /* Destination only supports a single CPU at a time */ | ||
359 | #define MPIC_SINGLE_DEST_CPU 0x00001000 | ||
358 | 360 | ||
359 | /* MPIC HW modification ID */ | 361 | /* MPIC HW modification ID */ |
360 | #define MPIC_REGSET_MASK 0xf0000000 | 362 | #define MPIC_REGSET_MASK 0xf0000000 |
diff --git a/arch/powerpc/include/asm/pci.h b/arch/powerpc/include/asm/pci.h index 39d547fde956..57a2a494886b 100644 --- a/arch/powerpc/include/asm/pci.h +++ b/arch/powerpc/include/asm/pci.h | |||
@@ -208,6 +208,8 @@ extern void pcibios_setup_new_device(struct pci_dev *dev); | |||
208 | 208 | ||
209 | extern void pcibios_claim_one_bus(struct pci_bus *b); | 209 | extern void pcibios_claim_one_bus(struct pci_bus *b); |
210 | 210 | ||
211 | extern void pcibios_allocate_bus_resources(struct pci_bus *bus); | ||
212 | |||
211 | extern void pcibios_resource_survey(void); | 213 | extern void pcibios_resource_survey(void); |
212 | 214 | ||
213 | extern struct pci_controller *init_phb_dynamic(struct device_node *dn); | 215 | extern struct pci_controller *init_phb_dynamic(struct device_node *dn); |