Skip to contentSkip to conversation

Compile fix for 4xx (linuxppc_2_4_devel)

PATCH David Gibson 3 participants 4 messages Aug 20, 2002

lore
Share & tools
lore
#0 lore raw

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

arch/ppc/kernel/ppc4xx_setup.c renamed from home/dgibson/kernel/linuxppc_2_4_devel/arch/ppc/kernel/ppc4xx_setup.c +1 -1
diff -urN /home/dgibson/kernel/linuxppc_2_4_devel/arch/ppc/kernel/ppc4xx_setup.c linux-grinch/arch/ppc/kernel/ppc4xx_setup.c
@@ -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
[email protected] | 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/

#1 lore raw
Quoted 2 lines · David Gibson

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

Actually, I'd rather keep it broken until either no one comments on Milton's continued patching of this code (and it's implicitily OK'ed, and myself or Troy will commit it), or there's comments on his changes and ....

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

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

#2 lore raw

I can submit patches to break other ports if you'd like that, as well.

} Actually, I'd rather keep it broken until either no one comments on } Milton's continued patching of this code (and it's implicitily OK'ed, } and myself or Troy will commit it), or there's comments on his changes } and ....

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

#3 lore raw
Quoted 6 lines · Cort Dougan

} Actually, I'd rather keep it broken until either no one comments on } Milton's continued patching of this code (and it's implicitily OK'ed, } and myself or Troy will commit it), or there's comments on his changes } and ....

I can submit patches to break other ports if you'd like that, as well.

Well, since what Troy commited came from you, IIRC, you already have. :)

But seriously, I'd rather not apply a fix for one port that still leaves other ports broken. Milton's patch fixes 4xx, as well as CHRP (which is currently unhappy) along with the cleanups introduced in what he did.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

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