patch-2.1.97 linux/arch/ppc/kernel/prep_time.c

Next file: linux/arch/ppc/kernel/process.c
Previous file: linux/arch/ppc/kernel/prep_setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.96/linux/arch/ppc/kernel/prep_time.c linux/arch/ppc/kernel/prep_time.c
@@ -220,7 +220,7 @@
 #ifdef CONFIG_HEARTBEAT
 	/* use hard disk LED as a heartbeat instead -- much more useful
 	   for debugging -- Cort */
-	switch(kstat.interrupts[0] % 101)
+	switch(kstat_irqs(0) % 101)
 	{
 	/* act like an actual heart beat -- ie thump-thump-pause... */
 	case 0:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov