aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/irq_32.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-25 13:06:12 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-25 13:10:36 -0400
commit7b0cfee1a24efdfe0235bac62e53f686fe8a8e24 (patch)
treeeeeb8cc3bf7be5ec0e54b7c4f3808ef88ecca012 /arch/sparc/kernel/irq_32.c
parent9756fe38d10b2bf90c81dc4d2f17d5632e135364 (diff)
parent6b16351acbd415e66ba16bf7d473ece1574cf0bc (diff)
Merge tag 'v3.5-rc4' into drm-intel-next-queued
I want to merge the "no more fake agp on gen6+" patches into drm-intel-next (well, the last pieces). But a patch in 3.5-rc4 also adds a new use of dev->agp. Hence the backmarge to sort this out, for otherwise drm-intel-next merged into Linus' tree would conflict in the relevant code, things would compile but nicely OOPS at driver load :( Conflicts in this merge are just simple cases of "both branches changed/added lines at the same place". The only tricky part is to keep the order correct wrt the unwind code in case of errors in intel_ringbuffer.c (and the MI_DISPLAY_FLIP #defines in i915_reg.h together, obviously). Conflicts: drivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_ringbuffer.c Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'arch/sparc/kernel/irq_32.c')
-rw-r--r--arch/sparc/kernel/irq_32.c22
1 files changed, 12 insertions, 10 deletions
diff --git a/arch/sparc/kernel/irq_32.c b/arch/sparc/kernel/irq_32.c
index ae04914f7774..c145f6fd123b 100644
--- a/arch/sparc/kernel/irq_32.c
+++ b/arch/sparc/kernel/irq_32.c
@@ -241,9 +241,6 @@ int sparc_floppy_request_irq(unsigned int irq, irq_handler_t irq_handler)
241 unsigned int cpu_irq; 241 unsigned int cpu_irq;
242 int err; 242 int err;
243 243
244#if defined CONFIG_SMP && !defined CONFIG_SPARC_LEON
245 struct tt_entry *trap_table;
246#endif
247 244
248 err = request_irq(irq, irq_handler, 0, "floppy", NULL); 245 err = request_irq(irq, irq_handler, 0, "floppy", NULL);
249 if (err) 246 if (err)
@@ -264,13 +261,18 @@ int sparc_floppy_request_irq(unsigned int irq, irq_handler_t irq_handler)
264 table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_four = SPARC_NOP; 261 table[SP_TRAP_IRQ1+(cpu_irq-1)].inst_four = SPARC_NOP;
265 262
266 INSTANTIATE(sparc_ttable) 263 INSTANTIATE(sparc_ttable)
267#if defined CONFIG_SMP && !defined CONFIG_SPARC_LEON 264
268 trap_table = &trapbase_cpu1; 265#if defined CONFIG_SMP
269 INSTANTIATE(trap_table) 266 if (sparc_cpu_model != sparc_leon) {
270 trap_table = &trapbase_cpu2; 267 struct tt_entry *trap_table;
271 INSTANTIATE(trap_table) 268
272 trap_table = &trapbase_cpu3; 269 trap_table = &trapbase_cpu1;
273 INSTANTIATE(trap_table) 270 INSTANTIATE(trap_table)
271 trap_table = &trapbase_cpu2;
272 INSTANTIATE(trap_table)
273 trap_table = &trapbase_cpu3;
274 INSTANTIATE(trap_table)
275 }
274#endif 276#endif
275#undef INSTANTIATE 277#undef INSTANTIATE
276 /* 278 /*