linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: Compile fix for 4xx (linuxppc_2_4_devel)
@ 2002-08-20 12:08 Pete Smithers
  0 siblings, 0 replies; 5+ messages in thread
From: Pete Smithers @ 2002-08-20 12:08 UTC (permalink / raw)
  To: linuxppc-embedded


> This fixes compile on 4xx machines, which was broken by the recent
> heartbeat changes.  Please apply.
>
> [...]
> --- /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;

of course this one has to be changes as well

Pete
--


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Compile fix for 4xx (linuxppc_2_4_devel)
@ 2002-08-20  0:45 David Gibson
  2002-08-20 20:47 ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: David Gibson @ 2002-08-20  0:45 UTC (permalink / raw)
  To: Tom Rini, linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-08-20 20:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-20 12:08 Compile fix for 4xx (linuxppc_2_4_devel) Pete Smithers
  -- strict thread matches above, loose matches on Subject: below --
2002-08-20  0:45 David Gibson
2002-08-20 20:47 ` Tom Rini
2002-08-20 20:47   ` Cort Dougan
2002-08-20 20:53     ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).