aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2011-03-24 17:43:55 -0400
committerKumar Gala <galak@kernel.crashing.org>2011-05-19 02:14:28 -0400
commitea94187face757e723aa461a60698ca43c09fbb9 (patch)
tree0be763512d05cbace1098837d0019703bf517dc9 /arch/powerpc/include/asm
parent22d168ce60272ca112e86e58c5ebde82f20f9c83 (diff)
powerpc/mpic: add the mpic global timer support
Add support for MPIC timers as requestable interrupt sources. Based on http://patchwork.ozlabs.org/patch/20941/ by Dave Liu. Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r--arch/powerpc/include/asm/mpic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/mpic.h b/arch/powerpc/include/asm/mpic.h
index 25a0cb3a79f3..664bee6622e7 100644
--- a/arch/powerpc/include/asm/mpic.h
+++ b/arch/powerpc/include/asm/mpic.h
@@ -263,6 +263,7 @@ struct mpic
263#ifdef CONFIG_SMP 263#ifdef CONFIG_SMP
264 struct irq_chip hc_ipi; 264 struct irq_chip hc_ipi;
265#endif 265#endif
266 struct irq_chip hc_tm;
266 const char *name; 267 const char *name;
267 /* Flags */ 268 /* Flags */
268 unsigned int flags; 269 unsigned int flags;
@@ -281,7 +282,7 @@ struct mpic
281 282
282 /* vector numbers used for internal sources (ipi/timers) */ 283 /* vector numbers used for internal sources (ipi/timers) */
283 unsigned int ipi_vecs[4]; 284 unsigned int ipi_vecs[4];
284 unsigned int timer_vecs[4]; 285 unsigned int timer_vecs[8];
285 286
286 /* Spurious vector to program into unused sources */ 287 /* Spurious vector to program into unused sources */
287 unsigned int spurious_vec; 288 unsigned int spurious_vec;