patch-2.4.14 linux/arch/ppc/kernel/gemini_setup.c
Next file: linux/arch/ppc/kernel/head.S
Previous file: linux/arch/ppc/kernel/gemini_pci.c
Back to the patch index
Back to the overall index
- Lines: 38
- Date:
Fri Nov 2 17:43:54 2001
- Orig file:
v2.4.13/linux/arch/ppc/kernel/gemini_setup.c
- Orig date:
Sun Sep 23 11:40:56 2001
diff -u --recursive --new-file v2.4.13/linux/arch/ppc/kernel/gemini_setup.c linux/arch/ppc/kernel/gemini_setup.c
@@ -1,5 +1,5 @@
/*
- * BK Id: SCCS/s.gemini_setup.c 1.11 08/20/01 14:34:41 paulus
+ * BK Id: SCCS/s.gemini_setup.c 1.14 10/18/01 11:16:28 trini
*/
/*
* linux/arch/ppc/kernel/setup.c
@@ -150,6 +150,9 @@
void
gemini_heartbeat(void)
{
+ /* We only want to do this on 1 CPU */
+ if ( smp_processor_id() )
+ return;
static unsigned long led = GEMINI_LEDBASE+(4*8);
static char direction = 8;
*(char *)led = 0;
@@ -506,8 +509,8 @@
static void
smp_gemini_kick_cpu(int nr)
{
- openpic_init_processor( 1<<nr );
- openpic_init_processor( 0 );
+ openpic_reset_processor_phys(1 << nr);
+ openpic_reset_processor_phys(0);
}
static void
@@ -574,9 +577,7 @@
ppc_md.kbd_unexpected_up = NULL;
ppc_md.kbd_leds = NULL;
ppc_md.kbd_init_hw = NULL;
-#ifdef CONFIG_MAGIC_SYSRQ
ppc_md.ppc_kbd_sysrq_xlate = NULL;
-#endif
ppc_md.pcibios_fixup_bus = gemini_pcibios_fixup;
#ifdef CONFIG_SMP
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)