Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Question on SMP warning in irq_cpu.c
@ 2006-04-18 17:50 Raj Palani
  2006-04-24 10:08 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Raj Palani @ 2006-04-18 17:50 UTC (permalink / raw)
  To: linux-mips

[-- Attachment #1: Type: text/plain, Size: 802 bytes --]

Hi,
   I have a question regarding the following warning in the arch/mips/kernel/irq_cpu.c.
   What is the reason for this comment and in case it is not SMP safe, what are the changes needed to make it SMP safe?
/*
 * Almost all MIPS CPUs define 8 interrupt sources.  They are typically
 * level triggered (i.e., cannot be cleared from CPU; must be cleared from
 * device).  The first two are software interrupts which we don't really
 * use or support.  The last one is usually the CPU timer interrupt if
 * counter register is present or, for CPUs with an external FPU, by
 * convention it's the FPU exception interrupt.
 *
 * Don't even think about using this on SMP.  You have been warned.
 *
 * This file exports one global function:
 *	void mips_cpu_irq_init(int irq_base);
 */
   Thanks.
   Raj

[-- Attachment #2: Type: text/html, Size: 2052 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-24 11:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-18 17:50 Question on SMP warning in irq_cpu.c Raj Palani
2006-04-24 10:08 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox