Thread (2 messages) flat view 2 messages, 2 authors, 2002-08-20

Compile fix for 4xx (linuxppc_2_4_devel)

From: David Gibson <hidden>
Date: 2002-08-20 00:45:00

This fixes compile on 4xx machines, which was broken by the recent
heartbeat changes.  Please apply.

diff -urN /home/dgibson/kernel/linuxppc_2_4_devel/arch/ppc/kernel/ppc4xx_setup.c linux-grinch/arch/ppc/kernel/ppc4xx_setup.c
--- /home/dgibson/kernel/linuxppc_2_4_devel/arch/ppc/kernel/ppc4xx_setup.c	2002-08-05 10:37:17.000000000 +1000
+++ linux-grinch/arch/ppc/kernel/ppc4xx_setup.c	2002-08-19 15:05:01.000000000 +1000
@@ -415,7 +415,7 @@
 #ifdef CONFIG_PPC405_WDT
 	ppc_md.heartbeat = ppc4xx_wdt_heartbeat;
 #endif
-	ppc_md.heartbeat_count = 0;
+	ppc_md.heartbeat_count[0] = 0;

 	ppc_md.find_end_of_memory = ppc4xx_find_end_of_memory;
 	ppc_md.setup_io_mappings = m4xx_map_io;


--
David Gibson			| For every complex problem there is a
david@gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help