diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-07 13:52:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-07 13:52:00 -0400 |
commit | ba00003aa83a61b615542dd66f5af8fb4a7cee1d (patch) | |
tree | 013dde7e89730e54433aa40b5e9d67997931aed6 /include | |
parent | 9c8e7f5cc965d30006c917ab19221e06fcc5a4f9 (diff) | |
parent | 40a5f7ca07f8e1d77acdba5ae0c11c15cb7520c1 (diff) |
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
[POWERPC] PReP fixup after irq changes
[POWERPC] SPU fixup after irq changes
[POWERPC] Fix up after irq changes
[POWERPC] Fix iseries/smp.c for irq breakage
[POWERPC] Fix viocons for irq breakage
[POWERPC] Update iseries_defconfig
[POWERPC] Fix fsl_soc build breaks
[POWERPC] Minor fix for bootargs property
[POWERPC] Update MTFSF_L() comment
[POWERPC] Update pSeries defconfig for SATA
[POWERPC] Don't get PCI IRQ from OF for devices with no IRQ
[POWERPC] Fix zImage decompress location
[POWERPC] linux,tce-size property is 32 bits
[POWERPC] Add DTS for MPC8349E-mITX board
[POWERPC] Fix harmless typo
[PPC] Fix some irq breakage with ARCH=ppc
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/i8259.h | 4 | ||||
-rw-r--r-- | include/asm-powerpc/ibmebus.h | 2 | ||||
-rw-r--r-- | include/asm-powerpc/ipic.h | 4 | ||||
-rw-r--r-- | include/asm-powerpc/iseries/hv_lp_event.h | 2 | ||||
-rw-r--r-- | include/asm-powerpc/iseries/it_lp_queue.h | 2 | ||||
-rw-r--r-- | include/asm-powerpc/machdep.h | 2 | ||||
-rw-r--r-- | include/asm-powerpc/mpic.h | 4 | ||||
-rw-r--r-- | include/asm-powerpc/reg.h | 2 | ||||
-rw-r--r-- | include/asm-ppc/floppy.h | 6 | ||||
-rw-r--r-- | include/asm-ppc/machdep.h | 2 | ||||
-rw-r--r-- | include/asm-ppc/open_pic.h | 6 | ||||
-rw-r--r-- | include/asm-ppc/smp.h | 2 |
12 files changed, 19 insertions, 19 deletions
diff --git a/include/asm-powerpc/i8259.h b/include/asm-powerpc/i8259.h index c80e113052cd..78489fb8d140 100644 --- a/include/asm-powerpc/i8259.h +++ b/include/asm-powerpc/i8259.h | |||
@@ -6,10 +6,10 @@ | |||
6 | 6 | ||
7 | #ifdef CONFIG_PPC_MERGE | 7 | #ifdef CONFIG_PPC_MERGE |
8 | extern void i8259_init(struct device_node *node, unsigned long intack_addr); | 8 | extern void i8259_init(struct device_node *node, unsigned long intack_addr); |
9 | extern unsigned int i8259_irq(struct pt_regs *regs); | 9 | extern unsigned int i8259_irq(void); |
10 | #else | 10 | #else |
11 | extern void i8259_init(unsigned long intack_addr, int offset); | 11 | extern void i8259_init(unsigned long intack_addr, int offset); |
12 | extern int i8259_irq(struct pt_regs *regs); | 12 | extern int i8259_irq(void); |
13 | #endif | 13 | #endif |
14 | 14 | ||
15 | #endif /* __KERNEL__ */ | 15 | #endif /* __KERNEL__ */ |
diff --git a/include/asm-powerpc/ibmebus.h b/include/asm-powerpc/ibmebus.h index 7ab195a27888..9d25f2063b03 100644 --- a/include/asm-powerpc/ibmebus.h +++ b/include/asm-powerpc/ibmebus.h | |||
@@ -65,7 +65,7 @@ void ibmebus_unregister_driver(struct ibmebus_driver *drv); | |||
65 | 65 | ||
66 | int ibmebus_request_irq(struct ibmebus_dev *dev, | 66 | int ibmebus_request_irq(struct ibmebus_dev *dev, |
67 | u32 ist, | 67 | u32 ist, |
68 | irqreturn_t (*handler)(int, void*, struct pt_regs *), | 68 | irqreturn_t (*handler)(int, void*), |
69 | unsigned long irq_flags, const char * devname, | 69 | unsigned long irq_flags, const char * devname, |
70 | void *dev_id); | 70 | void *dev_id); |
71 | void ibmebus_free_irq(struct ibmebus_dev *dev, u32 ist, void *dev_id); | 71 | void ibmebus_free_irq(struct ibmebus_dev *dev, u32 ist, void *dev_id); |
diff --git a/include/asm-powerpc/ipic.h b/include/asm-powerpc/ipic.h index 1ce09a35906e..9fbb03415860 100644 --- a/include/asm-powerpc/ipic.h +++ b/include/asm-powerpc/ipic.h | |||
@@ -79,12 +79,12 @@ extern void ipic_clear_mcp_status(u32 mask); | |||
79 | 79 | ||
80 | #ifdef CONFIG_PPC_MERGE | 80 | #ifdef CONFIG_PPC_MERGE |
81 | extern void ipic_init(struct device_node *node, unsigned int flags); | 81 | extern void ipic_init(struct device_node *node, unsigned int flags); |
82 | extern unsigned int ipic_get_irq(struct pt_regs *regs); | 82 | extern unsigned int ipic_get_irq(void); |
83 | #else | 83 | #else |
84 | extern void ipic_init(phys_addr_t phys_addr, unsigned int flags, | 84 | extern void ipic_init(phys_addr_t phys_addr, unsigned int flags, |
85 | unsigned int irq_offset, | 85 | unsigned int irq_offset, |
86 | unsigned char *senses, unsigned int senses_count); | 86 | unsigned char *senses, unsigned int senses_count); |
87 | extern int ipic_get_irq(struct pt_regs *regs); | 87 | extern int ipic_get_irq(void); |
88 | #endif | 88 | #endif |
89 | 89 | ||
90 | #endif /* __ASM_IPIC_H__ */ | 90 | #endif /* __ASM_IPIC_H__ */ |
diff --git a/include/asm-powerpc/iseries/hv_lp_event.h b/include/asm-powerpc/iseries/hv_lp_event.h index 4065a4de4935..6ce2ce1e2690 100644 --- a/include/asm-powerpc/iseries/hv_lp_event.h +++ b/include/asm-powerpc/iseries/hv_lp_event.h | |||
@@ -50,7 +50,7 @@ struct HvLpEvent { | |||
50 | u64 xCorrelationToken; /* Unique value for source/type x10-x17 */ | 50 | u64 xCorrelationToken; /* Unique value for source/type x10-x17 */ |
51 | }; | 51 | }; |
52 | 52 | ||
53 | typedef void (*LpEventHandler)(struct HvLpEvent *, struct pt_regs *); | 53 | typedef void (*LpEventHandler)(struct HvLpEvent *); |
54 | 54 | ||
55 | /* Register a handler for an event type - returns 0 on success */ | 55 | /* Register a handler for an event type - returns 0 on success */ |
56 | extern int HvLpEvent_registerHandler(HvLpEvent_Type eventType, | 56 | extern int HvLpEvent_registerHandler(HvLpEvent_Type eventType, |
diff --git a/include/asm-powerpc/iseries/it_lp_queue.h b/include/asm-powerpc/iseries/it_lp_queue.h index 3f6814769295..428278838821 100644 --- a/include/asm-powerpc/iseries/it_lp_queue.h +++ b/include/asm-powerpc/iseries/it_lp_queue.h | |||
@@ -72,7 +72,7 @@ struct hvlpevent_queue { | |||
72 | extern struct hvlpevent_queue hvlpevent_queue; | 72 | extern struct hvlpevent_queue hvlpevent_queue; |
73 | 73 | ||
74 | extern int hvlpevent_is_pending(void); | 74 | extern int hvlpevent_is_pending(void); |
75 | extern void process_hvlpevents(struct pt_regs *); | 75 | extern void process_hvlpevents(void); |
76 | extern void setup_hvlpevent_queue(void); | 76 | extern void setup_hvlpevent_queue(void); |
77 | 77 | ||
78 | #endif /* _ASM_POWERPC_ISERIES_IT_LP_QUEUE_H */ | 78 | #endif /* _ASM_POWERPC_ISERIES_IT_LP_QUEUE_H */ |
diff --git a/include/asm-powerpc/machdep.h b/include/asm-powerpc/machdep.h index c17c13742401..dac90dc341cb 100644 --- a/include/asm-powerpc/machdep.h +++ b/include/asm-powerpc/machdep.h | |||
@@ -97,7 +97,7 @@ struct machdep_calls { | |||
97 | void (*show_percpuinfo)(struct seq_file *m, int i); | 97 | void (*show_percpuinfo)(struct seq_file *m, int i); |
98 | 98 | ||
99 | void (*init_IRQ)(void); | 99 | void (*init_IRQ)(void); |
100 | unsigned int (*get_irq)(struct pt_regs *); | 100 | unsigned int (*get_irq)(void); |
101 | #ifdef CONFIG_KEXEC | 101 | #ifdef CONFIG_KEXEC |
102 | void (*kexec_cpu_down)(int crash_shutdown, int secondary); | 102 | void (*kexec_cpu_down)(int crash_shutdown, int secondary); |
103 | #endif | 103 | #endif |
diff --git a/include/asm-powerpc/mpic.h b/include/asm-powerpc/mpic.h index a9f9604b9eff..ef0a5458d2b2 100644 --- a/include/asm-powerpc/mpic.h +++ b/include/asm-powerpc/mpic.h | |||
@@ -409,9 +409,9 @@ extern void mpic_send_ipi(unsigned int ipi_no, unsigned int cpu_mask); | |||
409 | void smp_mpic_message_pass(int target, int msg); | 409 | void smp_mpic_message_pass(int target, int msg); |
410 | 410 | ||
411 | /* Fetch interrupt from a given mpic */ | 411 | /* Fetch interrupt from a given mpic */ |
412 | extern unsigned int mpic_get_one_irq(struct mpic *mpic, struct pt_regs *regs); | 412 | extern unsigned int mpic_get_one_irq(struct mpic *mpic); |
413 | /* This one gets to the primary mpic */ | 413 | /* This one gets to the primary mpic */ |
414 | extern unsigned int mpic_get_irq(struct pt_regs *regs); | 414 | extern unsigned int mpic_get_irq(void); |
415 | 415 | ||
416 | /* Set the EPIC clock ratio */ | 416 | /* Set the EPIC clock ratio */ |
417 | void mpic_set_clk_ratio(struct mpic *mpic, u32 clock_ratio); | 417 | void mpic_set_clk_ratio(struct mpic *mpic, u32 clock_ratio); |
diff --git a/include/asm-powerpc/reg.h b/include/asm-powerpc/reg.h index 3a9fcc15811b..8fb96811b55d 100644 --- a/include/asm-powerpc/reg.h +++ b/include/asm-powerpc/reg.h | |||
@@ -503,7 +503,7 @@ | |||
503 | 503 | ||
504 | /* | 504 | /* |
505 | * An mtfsf instruction with the L bit set. On CPUs that support this a | 505 | * An mtfsf instruction with the L bit set. On CPUs that support this a |
506 | * full 64bits of FPSCR is restored and on other CPUs it is ignored. | 506 | * full 64bits of FPSCR is restored and on other CPUs the L bit is ignored. |
507 | * | 507 | * |
508 | * Until binutils gets the new form of mtfsf, hardwire the instruction. | 508 | * Until binutils gets the new form of mtfsf, hardwire the instruction. |
509 | */ | 509 | */ |
diff --git a/include/asm-ppc/floppy.h b/include/asm-ppc/floppy.h index d3963ca79ad8..ae316e6d2ca9 100644 --- a/include/asm-ppc/floppy.h +++ b/include/asm-ppc/floppy.h | |||
@@ -38,14 +38,14 @@ static int virtual_dma_mode; | |||
38 | static int doing_vdma; | 38 | static int doing_vdma; |
39 | static struct fd_dma_ops *fd_ops; | 39 | static struct fd_dma_ops *fd_ops; |
40 | 40 | ||
41 | static irqreturn_t floppy_hardint(int irq, void *dev_id, struct pt_regs * regs) | 41 | static irqreturn_t floppy_hardint(int irq, void *dev_id) |
42 | { | 42 | { |
43 | unsigned char st; | 43 | unsigned char st; |
44 | int lcount; | 44 | int lcount; |
45 | char *lptr; | 45 | char *lptr; |
46 | 46 | ||
47 | if (!doing_vdma) | 47 | if (!doing_vdma) |
48 | return floppy_interrupt(irq, dev_id, regs); | 48 | return floppy_interrupt(irq, dev_id); |
49 | 49 | ||
50 | 50 | ||
51 | st = 1; | 51 | st = 1; |
@@ -69,7 +69,7 @@ static irqreturn_t floppy_hardint(int irq, void *dev_id, struct pt_regs * regs) | |||
69 | virtual_dma_residue += virtual_dma_count; | 69 | virtual_dma_residue += virtual_dma_count; |
70 | virtual_dma_count=0; | 70 | virtual_dma_count=0; |
71 | doing_vdma = 0; | 71 | doing_vdma = 0; |
72 | floppy_interrupt(irq, dev_id, regs); | 72 | floppy_interrupt(irq, dev_id); |
73 | return IRQ_HANDLED; | 73 | return IRQ_HANDLED; |
74 | } | 74 | } |
75 | return IRQ_HANDLED; | 75 | return IRQ_HANDLED; |
diff --git a/include/asm-ppc/machdep.h b/include/asm-ppc/machdep.h index da7746738aee..293a444a1d77 100644 --- a/include/asm-ppc/machdep.h +++ b/include/asm-ppc/machdep.h | |||
@@ -43,7 +43,7 @@ struct machdep_calls { | |||
43 | /* Optional, may be NULL. */ | 43 | /* Optional, may be NULL. */ |
44 | unsigned int (*irq_canonicalize)(unsigned int irq); | 44 | unsigned int (*irq_canonicalize)(unsigned int irq); |
45 | void (*init_IRQ)(void); | 45 | void (*init_IRQ)(void); |
46 | int (*get_irq)(struct pt_regs *); | 46 | int (*get_irq)(void); |
47 | 47 | ||
48 | /* A general init function, called by ppc_init in init/main.c. | 48 | /* A general init function, called by ppc_init in init/main.c. |
49 | May be NULL. DEPRECATED ! */ | 49 | May be NULL. DEPRECATED ! */ |
diff --git a/include/asm-ppc/open_pic.h b/include/asm-ppc/open_pic.h index a4fe962d9f73..778d5726212c 100644 --- a/include/asm-ppc/open_pic.h +++ b/include/asm-ppc/open_pic.h | |||
@@ -48,12 +48,12 @@ extern void openpic_init(int linux_irq_offset); | |||
48 | extern void openpic_init_nmi_irq(u_int irq); | 48 | extern void openpic_init_nmi_irq(u_int irq); |
49 | extern void openpic_set_irq_priority(u_int irq, u_int pri); | 49 | extern void openpic_set_irq_priority(u_int irq, u_int pri); |
50 | extern void openpic_hookup_cascade(u_int irq, char *name, | 50 | extern void openpic_hookup_cascade(u_int irq, char *name, |
51 | int (*cascade_fn)(struct pt_regs *)); | 51 | int (*cascade_fn)(void)); |
52 | extern u_int openpic_irq(void); | 52 | extern u_int openpic_irq(void); |
53 | extern void openpic_eoi(void); | 53 | extern void openpic_eoi(void); |
54 | extern void openpic_request_IPIs(void); | 54 | extern void openpic_request_IPIs(void); |
55 | extern void do_openpic_setup_cpu(void); | 55 | extern void do_openpic_setup_cpu(void); |
56 | extern int openpic_get_irq(struct pt_regs *regs); | 56 | extern int openpic_get_irq(void); |
57 | extern void openpic_reset_processor_phys(u_int cpumask); | 57 | extern void openpic_reset_processor_phys(u_int cpumask); |
58 | extern void openpic_setup_ISU(int isu_num, unsigned long addr); | 58 | extern void openpic_setup_ISU(int isu_num, unsigned long addr); |
59 | extern void openpic_cause_IPI(u_int ipi, cpumask_t cpumask); | 59 | extern void openpic_cause_IPI(u_int ipi, cpumask_t cpumask); |
@@ -93,6 +93,6 @@ extern void openpic2_init(int linux_irq_offset); | |||
93 | extern void openpic2_init_nmi_irq(u_int irq); | 93 | extern void openpic2_init_nmi_irq(u_int irq); |
94 | extern u_int openpic2_irq(void); | 94 | extern u_int openpic2_irq(void); |
95 | extern void openpic2_eoi(void); | 95 | extern void openpic2_eoi(void); |
96 | extern int openpic2_get_irq(struct pt_regs *regs); | 96 | extern int openpic2_get_irq(void); |
97 | extern void openpic2_setup_ISU(int isu_num, unsigned long addr); | 97 | extern void openpic2_setup_ISU(int isu_num, unsigned long addr); |
98 | #endif /* _PPC_KERNEL_OPEN_PIC_H */ | 98 | #endif /* _PPC_KERNEL_OPEN_PIC_H */ |
diff --git a/include/asm-ppc/smp.h b/include/asm-ppc/smp.h index 0b7fa89589df..e75791ea33a6 100644 --- a/include/asm-ppc/smp.h +++ b/include/asm-ppc/smp.h | |||
@@ -39,7 +39,7 @@ extern struct smp_ops_t *smp_ops; | |||
39 | extern void smp_send_tlb_invalidate(int); | 39 | extern void smp_send_tlb_invalidate(int); |
40 | extern void smp_send_xmon_break(int cpu); | 40 | extern void smp_send_xmon_break(int cpu); |
41 | struct pt_regs; | 41 | struct pt_regs; |
42 | extern void smp_message_recv(int, struct pt_regs *); | 42 | extern void smp_message_recv(int); |
43 | 43 | ||
44 | extern int __cpu_disable(void); | 44 | extern int __cpu_disable(void); |
45 | extern void __cpu_die(unsigned int cpu); | 45 | extern void __cpu_die(unsigned int cpu); |