patch-2.4.22 linux-2.4.22/arch/ppc/kernel/open_pic.c
Next file: linux-2.4.22/arch/ppc/kernel/pci.c
Previous file: linux-2.4.22/arch/ppc/kernel/ocp.c
Back to the patch index
Back to the overall index
- Lines: 62
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/ppc/kernel/open_pic.c
- Orig date:
2003-06-13 07:51:31.000000000 -0700
diff -urN linux-2.4.21/arch/ppc/kernel/open_pic.c linux-2.4.22/arch/ppc/kernel/open_pic.c
@@ -540,7 +540,7 @@
/*
* Send an IPI to one or more CPUs
- *
+ *
* Externally called, however, it takes an IPI number (0...OPENPIC_NUM_IPI)
* and not a system-wide interrupt number
*/
@@ -557,12 +557,12 @@
void openpic_request_IPIs(void)
{
int i;
-
+
/*
- * Make sure this matches what is defined in smp.c for
- * smp_message_{pass|recv}() or what shows up in
+ * Make sure this matches what is defined in smp.c for
+ * smp_message_{pass|recv}() or what shows up in
* /proc/interrupts will be wrong!!! --Troy */
-
+
if (OpenPIC == NULL)
return;
@@ -698,7 +698,7 @@
{
volatile u_int *vpp;
u32 vp;
-
+
check_arg_irq(irq);
vpp = &ISR[irq - open_pic_irq_offset]->Vector_Priority;
openpic_setfield(vpp, OPENPIC_MASK);
@@ -712,7 +712,7 @@
#ifdef CONFIG_SMP
/*
* Enable/disable an IPI interrupt source
- *
+ *
* Externally called, irq is an offseted system-wide interrupt number
*/
void openpic_enable_ipi(u_int irq)
@@ -875,7 +875,7 @@
{
int i;
unsigned long flags;
-
+
spin_lock_irqsave(&openpic_setup_lock, flags);
for (i=0; i<NumProcessors; i++) {
@@ -903,7 +903,7 @@
unsigned long flags;
spin_lock_irqsave(&openpic_setup_lock, flags);
-
+
openpic_reset();
for (i=0; i<OPENPIC_NUM_IPI; i++)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)