patch-2.4.0-test10 linux/include/asm-ia64/hw_irq.h
Next file: linux/include/asm-ia64/ia32.h
Previous file: linux/include/asm-ia64/hardirq.h
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Fri Oct 13 12:05:29 2000
- Orig file:
v2.4.0-test9/linux/include/asm-ia64/hw_irq.h
- Orig date:
Fri Apr 21 15:21:24 2000
diff -u --recursive --new-file v2.4.0-test9/linux/include/asm-ia64/hw_irq.h linux/include/asm-ia64/hw_irq.h
@@ -6,8 +6,6 @@
* Copyright (C) 2000 David Mosberger-Tang <davidm@hpl.hp.com>
*/
-#include <linux/config.h>
-
#include <linux/types.h>
#include <asm/ptrace.h>
@@ -67,17 +65,7 @@
static inline void
hw_resend_irq (struct hw_interrupt_type *h, unsigned int vector)
{
- int my_cpu_id;
-
-#ifdef CONFIG_SMP
- my_cpu_id = smp_processor_id();
-#else
- __u64 lid;
-
- __asm__ ("mov %0=cr.lid" : "=r"(lid));
- my_cpu_id = (lid >> 24) & 0xff; /* extract id (ignore eid) */
-#endif
- ipi_send(my_cpu_id, vector, IA64_IPI_DM_INT, 0);
+ ipi_send(smp_processor_id(), vector, IA64_IPI_DM_INT, 0);
}
#endif /* _ASM_IA64_HW_IRQ_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)